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
Could your website be exposed too?
SmartScanner can check your website for content-security-policy-parser Prototype Pollution Vulnerability May Lead to RCE and gives you actionable findings to investigate.
Start a free scanRelated 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


