CVE-2025-55164helmetjs content-security-policy-parser
High 8.8 No auth needed
Follow: this CVE · helmetjs · helmetjs content-security-policy-parser We alert you by email or Slack (account required).
- Priority
- 68
- CVSS 4.0
- 8.8
- EPSS
- —
- Auth required
- No
- Published
- Aug 12, 2025
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-1321
- SSVC (CISA)
- Exploitation: none · Automatable: yes · Technical impact: partial
- Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
What happens
content-security-policy-parser parses content security policy directives. A prototype pollution vulnerability exists in versions 0.5.0 and earlier, wherein if a policy name is called __proto__, one can override the Object prototype. This issue has been patched in version 0.6.0. A workaround involves disabling prototype method in NodeJS, neutralizing all possible prototype pollution attacks. Provide either --disable-proto=delete (recommended) or --disable-proto=throw as an argument to node to enable this feature.
What to do
- Apply the vendor's security update for content-security-policy-parser.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| npm | content-security-policy-parser |
< 0.6.0 |
0.6.0 |
npm install content-security-policy-parser@0.6.0 |
Per OSV / GitHub Advisories (GHSA-w2cq-g8g3-gm83). Check the version in your lockfile before upgrading.
Affected products
- helmetjs · content-security-policy-parser
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official sources
References
Links published by the sources. Open them with care.