Skip to main content
Mallory
CriticalVulnerability

CVE-2025-13158: Prototype Pollution in apidoc-core preProcess

Published Dec 26, 2025 · Updated 2 months ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
CVSS9.3Critical · v4
EPSS0.84%55th percentile
CISA KEVNoNot listed
In the wildNoneNo exploitation reported
IdentifiersCVE-2025-13158CWE-1321 · Improperly Controlled Modification…

CVE-2025-13158 is a prototype-pollution vulnerability in apidoc-core 0.2.0 and later. The preProcess() function in the api_group.js, api_param_title.js, api_use.js, and api_permission.js worker modules processes malformed data structures, including the define property, in a manner that permits modification of JavaScript object prototypes.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Analyst brief

Impact, mitigation & remediation

What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.

Impact

What an attacker gets, and what they’ve been doing with it.

An attacker can corrupt JavaScript prototype chains, causing denial of service or unintended behavior in applications that rely on prototype-chain integrity.

Mitigation

If you can’t patch tonight, do this now.

Do not allow untrusted input to control the define property. Sanitize untrusted data structures to reject prototype-pollution primitives before processing.

Remediation

Patch, then assume compromise.

Update apidoc-core to a patched version when one is available. Validate and sanitize incoming data structures before they reach affected processing functions.

Public exploits

Exploits

No public exploits tracked yet. Mallory keeps watching.

View more in app →
No public exploit code observed for this vulnerability. Mallory keeps watching.
FAQ

Frequently asked questions

Is CVE-2025-13158 exploited in the wild?
As of Sep 30, 2026, Mallory has no reports of CVE-2025-13158 being exploited in the wild. It is not listed in CISA KEV.
Is there a public exploit for CVE-2025-13158?
As of Sep 30, 2026, Mallory has found no public exploit for CVE-2025-13158.
Is there a patch for CVE-2025-13158?
Update apidoc-core to a patched version when one is available. Validate and sanitize incoming data structures before they reach affected processing functions.
How severe is CVE-2025-13158?
CVE-2025-13158 has a CVSS v4 score of 9.3 (Critical) and an EPSS score of 0.84% (55th percentile) as of Sep 30, 2026.
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, and which detections to deploy tonight.
Exposure mappingQuery your assets running an affected version, and investigate the blast radius.
Threat actor evidenceEvery report linking this CVE to a named adversary.
Associated malwareMalware families linked to this CVE, with evidence and IOCs.
Detection signaturesYARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activity7Community discussion across Reddit, Mastodon, and other social sources.