CVE-2025-57317
HIGH 7.5CVSS 3.1apidoc-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
- 25 Sep 2025
- Last modified
- 5 Nov 2026
- Assigned by
- cve@mitre.org
- NVD status
- Analyzed
- Weakness
- CWE-400
- Also known as
- GHSA-5q53-78f2-6gf8
- Sources
- NVDJSONOSV GHSA-5q53-78f2-6gf8JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | apidocjs | apidoc-corecpe:2.3:a:apidocjs:apidoc-core:*:*:*:*:*:node.js:*:* |
<= 0.15.0 | |
| OSV | npm | apidoc-core | <= 0.15.0 |
References
- https://github.com/OrangeShieldInfos/PoCs/tree/main/JavaScript/prototype-pollution/CVE-2025-57317 · Third Party Advisory, WEB
- https://github.com/VulnSageAgent/PoCs/blob/main/JavaScript/prototype-pollution/apidoc-core%400.15.0/index.js · Broken Link, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2025-57317 · ADVISORY
- https://github.com/apidoc/apidoc-core · PACKAGE
History
- 25 Nov 2026 20:59 UTC · NVD: first stored (published 25 Sep 2025)
- 25 Nov 2026 20:10 UTC · OSV: first stored (published 25 Sep 2025)