# CVE-2025-57317: apidoc-core is vulnerable to prototype pollution

- Severity: High 7.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.36%, higher than 31% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2025-09-25T00:00:00.000Z
- Modified: 2026-11-05T23:10:00.150Z
- Also known as: GHSA-5q53-78f2-6gf8
- Weaknesses: CWE-400
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: mitre

## 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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- apidoc-core (npm): up to 0.15.0
- apidocjs apidoc-core: up to 0.15.0

## Every score

- CISA-ADP: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://github.com/VulnSageAgent/PoCs/blob/main/JavaScript/prototype-pollution/apidoc-core%400.15.0/index.js> (exploit, broken-link, web)
- <https://github.com/OrangeShieldInfos/PoCs/tree/main/JavaScript/prototype-pollution/CVE-2025-57317> (exploit, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-57317> (advisory)
- <https://github.com/apidoc/apidoc-core> (package)

## Sources

- CVE List: [CVE-2025-57317](https://www.cve.org/CVERecord?id=CVE-2025-57317), CVE Terms of Use, modified 2025-09-25
- GitHub Advisory Database: [GHSA-5q53-78f2-6gf8](https://github.com/advisories/GHSA-5q53-78f2-6gf8), CC-BY-4.0, modified 2025-09-26
- NVD: [CVE-2025-57317](https://nvd.nist.gov/vuln/detail/CVE-2025-57317), Public domain, modified 2026-11-05

---

Page: https://cve.day/CVE-2025-57317 · Whole record: https://cve.day/CVE-2025-57317.json · Rebuilt by cve.day 2026-11-25T22:59:05.157Z
