Prototype Pollution Vulnerability in Apidoc-Core by Sonatype
CVE-2025-13158
9.3CRITICAL
What is CVE-2025-13158?
A prototype pollution vulnerability exists in apidoc-core affecting version 0.2.0 and later. This flaw enables remote attackers to manipulate JavaScript object prototypes using malformed data structures, particularly targeting the ādefineā property. As a result, applications that depend on the integrity of prototype chains may experience denial of service or exhibit unintended behavior. The vulnerability impacts the preProcess() function across several worker modules, including api_group.js, api_param_title.js, api_use.js, and api_permission.js.
Affected Version(s)
apidoc-core 0.2.0
References
CVSS V4
Score:
9.3
Severity:
CRITICAL
Confidentiality:
High
Integrity:
High
Availability:
High
Attack Vector:
Network
Attack Complexity:
Low
Attack Required:
None
Privileges Required:
Undefined
User Interaction:
None
Timeline
Vulnerability published
Vulnerability Reserved
Credit
James MontaƱo of the Sonatype Security Research Team
