CVE-2025-57317: apidoc-core is vulnerable to prototype pollution
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.
Published Sep 25, 2025 · Updated Sep 26, 2025
Affected packages
apidoc-core
- Ecosystem
- npm
- Affected
- <= 0.15.0
- Fixed in
- No patched version yet
- Check
npm ls apidoc-core
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
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.
References
- https://nvd.nist.gov/vuln/detail/CVE-2025-57317
- https://github.com/OrangeShieldInfos/PoCs/tree/main/JavaScript/prototype-pollution/CVE-2025-57317
- https://github.com/VulnSageAgent/PoCs/blob/main/JavaScript/prototype-pollution/apidoc-core%400.15.0/index.js
- https://github.com/advisories/GHSA-5q53-78f2-6gf8
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
