9.3critical
apidoc-core - prototype pollution in api_group.js, api_param_title.js, api_use.js, and api_permission.js worker
- Severity
- 9.3critical CVSS:4.0 by Sonatype
- Exploit likelihood
- 0.54% (higher than 47% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Sonatype
- Also known as
- GHSA-6vj3-p34w-xxjp
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| apiDoc apidoc-core | from 0.2.0 before * | CVE List |
| apidoc-core (npm) | from 0.2.0 up to 0.15.0 | GitHub Advisory Database |
All scores
| Sonatype | 9.3critical CVSS:4.0 | 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 | critical CVSS:4.0 | 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 |
Classification
SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total.
What each source says
CVE List
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.
NVD (es)
Vulnerabilidad de contaminación de prototipos en las versiones 0.2.0 y todas las versiones posteriores de apidoc-core permite a atacantes remotos modificar prototipos de objetos JavaScript a través de estructuras de datos malformadas, incluyendo la propiedad 'define' procesada por la aplicación, lo que podría llevar a denegación de servicio o comportamiento no deseado en aplicaciones que dependen de la integridad de las cadenas de prototipos. Esto afecta a la función preProcess() en los módulos de trabajo api_group.js, api_param_title.js, api_use.js, y api_permission.js.
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
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-13158 changed 2025-12-26 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-6vj3-p34w-xxjp changed 2025-12-26 | CC-BY-4.0 |
| NVD | CVE-2025-13158 changed 2026-10-07 | Public domain |