CVE-2025-57317
Apidocjs Apidoc-core vulnerability
apidoc-core is the core parser library to generate apidoc result following the apidoc-spec. A Prototype Pollution vulnerability in the preProcess function of apidoc-core versions thru 0.15.0 allows attackers to inject properties on Object.prototype via supplying a crafted payload, causing denial of service (DoS) as the minimum consequence.
Affected products
Apidoc-core. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Apidocjs Apidoc-core runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/OrangeShieldInfos/PoCs/tree/main/JavaScript/prototype-pollution/CVE-2025-57317 · Third Party Advisory
- github.com/VulnSageAgent/PoCs/blob/main/JavaScript/prototype-pollution/apidoc-core%400.15.
- nvd.nist.gov/vuln/detail/CVE-2025-57317
- github.com/advisories/GHSA-5q53-78f2-6gf8
- nvd.nist.gov/vuln/detail/CVE-2025-57317
- cve.org/CVERecord?id=CVE-2025-57317
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.