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

Critical 9.3 Published Updated

Remote attackers can pollute JavaScript object prototypes via malformed data, causing denial of service or unintended behavior in applications using apidoc-core.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2025-13158?

CVE-2025-13158 is a critical vulnerability in apidoc-core, published on 26 Dec 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.

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

Weakness: CWE-1321

Which versions are affected by CVE-2025-13158?

2 open source packages ship an affected version, including apidoc-core.

PackageAffectedFixed in
apidoc-core npmFrom 0.2.0 to 0.15.0None
apidoc-core npmFrom 0.2.0 to 0.15.0None

How do I fix CVE-2025-13158?

No fix has been published for CVE-2025-13158 yet. Limit exposure of the affected software until one is available.

Is CVE-2025-13158 being exploited?

There is no known exploitation of CVE-2025-13158 in the wild and no public exploit code.

Sources

Also known as GHSA-6vj3-p34w-xxjp.

Is CVE-2025-13158 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free