Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. apidoc-core
  4. ›
  5. CVE-2025-13158

CVE-2025-13158: apidoc-core has a prototype pollution vulnerability

December 26, 2025

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.

References

  • github.com/advisories/GHSA-6vj3-p34w-xxjp
  • github.com/apidoc/apidoc-core
  • nvd.nist.gov/vuln/detail/CVE-2025-13158
  • www.sonatype.com/security-advisories/cve-2025-13158

Code Behaviors & Features

Detect and mitigate CVE-2025-13158 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 0.2.0 up to 0.15.0

Solution

Unfortunately, there is no solution available yet.

Impact 9.8 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-1321: Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')

Source file

npm/apidoc-core/CVE-2025-13158.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 04 Feb 2026 00:35:45 +0000.