CVE-2025-13158: Vulnerability in apidoc-core

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

npm, CWE-1321

Exploitation
None confirmed
Severity
9.3 of 10
Attack likelihood
Unknown
Fix
None recorded
Patch deadline
No deadline set

Details

Advisory ID
GHSA-6vj3-p34w-xxjp
Vector
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
Weakness
CWE-1321
Published
26 Dec 2025
Last change
7 Oct 2026
Ecosystem
npm

Affected packages

Vulnerable version ranges and fixed releases

  • apidoc-core npm, Affected from 0.2.0 through 0.15.0. No fixed version recorded

Advisories

Vendor and security advisories