content-security-policy-parser Prototype Pollution Vulnerability May Lead to RCE
- Severity:
- High
Description
A prototype pollution vulnerability exists in versions 0.5.0 and earlier, wherein if you provide a policy name called __proto__ you can override the Object prototype.
Recommendation
Update the content-security-policy-parser package to the latest compatible version. Followings are version details:
- Affected version(s): < 0.6.0
- Patched version(s): 0.6.0
References
Related Issues
- ts-fns has prototype pollution vulnerability - CVE-2025-57351
- messageformat has a prototype pollution vulnerability - CVE-2025-57349
- Lodash has Prototype Pollution Vulnerability in `_.unset` and `_.omit` functions - CVE-2025-13465
- messageformat prototype pollution vulnerability - CVE-2025-57353
You might also like:
- Tags:
- npm
- content-security-policy-parser
Anything's wrong? Let us know Last updated on August 12, 2025


