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

CVE-2025-57317: apidoc-core is vulnerable to prototype pollution

September 25, 2025 (updated September 26, 2025)

apidoc-core is the core parser library to generate apidoc result following the apidoc-spec. A Prototype Pollution vulnerability in the preProcess function of apidoc-core versions thru 0.15.0 allows attackers to inject properties on Object.prototype via supplying a crafted payload, causing denial of service (DoS) as the minimum consequence.

References

  • github.com/OrangeShieldInfos/PoCs/tree/main/JavaScript/prototype-pollution/CVE-2025-57317
  • github.com/VulnSageAgent/PoCs/blob/main/JavaScript/prototype-pollution/apidoc-core%400.15.0/index.js
  • github.com/advisories/GHSA-5q53-78f2-6gf8
  • github.com/apidoc/apidoc-core
  • nvd.nist.gov/vuln/detail/CVE-2025-57317

Code Behaviors & Features

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

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions up to 0.15.0

Solution

Unfortunately, there is no solution available yet.

Impact 7.5 HIGH

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

Learn more about CVSS

Weakness

  • CWE-400: Uncontrolled Resource Consumption

Source file

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

Spotted a mistake? Edit the file on GitLab.

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

Page generated Sun, 08 Nov 2026 00:15:24 +0000.