Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. spmrc
  4. ›
  5. CVE-2025-57327

CVE-2025-57327: spmrc vulnerable to prototype pollution

September 24, 2025 (updated September 26, 2025)

spmrc is a package that provides the rc manager for spm. A Prototype Pollution vulnerability in the set and config function of spmrc version 1.2.0 and before 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/VulnSageAgent/PoCs/blob/main/JavaScript/prototype-pollution/spmrc%401.2.0/index.js
  • github.com/VulnSageAgent/PoCs/tree/main/JavaScript/prototype-pollution/CVE-2025-57327
  • github.com/advisories/GHSA-r2rv-8pp3-65xw
  • github.com/spmjs/spmrc
  • nvd.nist.gov/vuln/detail/CVE-2025-57327

Code Behaviors & Features

Detect and mitigate CVE-2025-57327 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 up to 1.2.0

Solution

Unfortunately, there is no solution available yet.

Weakness

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

Source file

npm/spmrc/CVE-2025-57327.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Mon, 29 Sep 2025 00:18:35 +0000.