high7.5
CVE-2025-57317
apidoc-core is vulnerable to prototype pollution
Impact
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 packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| npm | apidoc-core | <= 0.15.0 | none recorded |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Apidocjs | Apidoc-Core | through 0.15.0 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- 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
- https://nvd.nist.gov/vuln/detail/CVE-2025-57317