CVE-2025-57319: fast-redact vulnerable to prototype pollution
(updated )
fast-redact is a package that provides do very fast object redaction. A Prototype Pollution vulnerability in the nestedRestore function of fast-redact version 3.5.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/fast-redact%403.5.0/index.js
- github.com/VulnSageAgent/PoCs/tree/main/JavaScript/prototype-pollution/CVE-2025-57319
- github.com/advisories/GHSA-ffrw-9mx8-89p8
- github.com/davidmarkclements/fast-redact
- github.com/davidmarkclements/fast-redact/issues/75
- nvd.nist.gov/vuln/detail/CVE-2025-57319
Code Behaviors & Features
Detect and mitigate CVE-2025-57319 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 →