GitHub Advisoryadvisory · npm
GHSA-5q53-78f2-6gf8 apidoc-core is vulnerable to prototype pollution
HIGH
Official page ↗
- Aliases
- CVE-2025-57317
- Ecosystem
- npm
- Packages
- apidoc-core
- Severity
- High
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Weaknesses
- CWE-400
- Reviewed
- 2025-09-26
Affected packages
• npm apidoc-core: <= 0.15.0 (no fix yet)
Description
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.
Related
Alias · CVE (1)
- CVE-2025-57317 apidoc-core is the core parser library to generate apidoc result following the apidoc-spec. vulnerability
Weakness · CWE (1)
- CWE-400 Uncontrolled Resource Consumption weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2025-57317 advisory
- https://github.com/OrangeShieldInfos/PoCs/tree/main/JavaScript/prototype-pollution/CVE-2025-57317 web
- https://github.com/VulnSageAgent/PoCs/blob/main/JavaScript/prototype-pollution/apidoc-core%400.15.0/index.js web
- https://github.com/apidoc/apidoc-core package