CVE-2025-13158
JSON

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 packageVersionsReported by
apiDoc apidoc-corefrom 0.2.0 before *CVE List
apidoc-core (npm)from 0.2.0 up to 0.15.0GitHub Advisory Database

All scores

Sonatype9.3critical CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
GitHubcritical CVSS:4.0CVSS: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

CWE-1321

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

Sources

SourceRecordLicence
CVE ListCVE-2025-13158 changed 2025-12-26CVE Terms of Use
GitHub Advisory DatabaseGHSA-6vj3-p34w-xxjp changed 2025-12-26CC-BY-4.0
NVDCVE-2025-13158 changed 2026-10-07Public domain