# CVE-2025-13158: apidoc-core - prototype pollution in api_group.js, api_param_title.js, api_use.js, and api_permission.js worker

- Severity: Critical 9.3 (CVSS:4.0, scored by Sonatype) `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N`
- 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.54%, higher than 47% of CVEs (2026-12-01)
- Published: 2025-12-26T16:00:27.208Z
- Modified: 2026-10-07T13:10:00.713Z
- Also known as: GHSA-6vj3-p34w-xxjp
- Weaknesses: CWE-1321
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- Assigned by: Sonatype

## Description

Prototype pollution vulnerability in apidoc-core versions 0.2.0 and all subsequent versions allows remote attackers to modify JavaScript object prototypes via malformed data structures, including the “define” property processed by the application, potentially leading to denial of service or unintended behavior in applications relying on the integrity of prototype chains. This affects the preProcess() function in api_group.js, api_param_title.js, api_use.js, and api_permission.js worker modules.

(As written by CVE List.)

## Affected

- apiDoc apidoc-core: from 0.2.0 before *
- apidoc-core (npm): from 0.2.0 up to 0.15.0

## Every score

- Sonatype: CVSS:4.0 9.3 Critical `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N`
- GitHub: CVSS:4.0 Critical `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N`

## References

- <https://www.sonatype.com/security-advisories/cve-2025-13158> (third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-13158> (advisory)
- <https://github.com/apidoc/apidoc-core> (package)

## Sources

- CVE List: [CVE-2025-13158](https://www.cve.org/CVERecord?id=CVE-2025-13158), CVE Terms of Use, modified 2025-12-26
- GitHub Advisory Database: [GHSA-6vj3-p34w-xxjp](https://github.com/advisories/GHSA-6vj3-p34w-xxjp), CC-BY-4.0, modified 2025-12-26
- NVD: [CVE-2025-13158](https://nvd.nist.gov/vuln/detail/CVE-2025-13158), Public domain, modified 2026-10-07

---

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