apidoc/apidoc-core · Security
apidoc-core is vulnerable to prototype pollution
- GHSA ID
- GHSA-5q53-78f2-6gf8
- CVE ID
- CVE-2025-57317
- Severity
- high
- Published
- Updated
- CVSS
- 7.5 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- CVSS v3
- 7.5 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
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.
CWEs
- CWE-400 · Uncontrolled Resource Consumption
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 ↗