high7.5
CVE-2025-57327
spmrc vulnerable to prototype pollution
Impact
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.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| npm | spmrc | <= 1.2.0 | none recorded |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Spmjs | Spmrc | through 1.2.0 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/VulnSageAgent/PoCs/blob/main/JavaScript/prototype-pollution/spmrc%401.2.0/index.js
- https://github.com/VulnSageAgent/PoCs/tree/main/JavaScript/prototype-pollution/CVE-2025-57327
- https://github.com/advisories/GHSA-r2rv-8pp3-65xw
- https://nvd.nist.gov/vuln/detail/CVE-2025-57327