CVE-2025-55164: helmetjs content-security-policy-parser · Prototype Pollution
Affects helmetjs content-security-policy-parserSource CVE Database V5
Not known to be exploited · CVSS 8.8 High : upgrade to 0.6.0 soon.
Data as of 25 Oct 2026, 19:02 UTC
- EPSS
- 0.4% chance of exploitation in 30 days – higher than 38% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 0.6.0
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 12 Aug 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2026-10-25.
What to do
Upgrade helmetjs content-security-policy-parser to 0.6.0.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| helmetjs content-security-policy-parser | Affected
| Fixed in
|
AI-suggested
European organizations should immediately upgrade the content-security-policy-parser dependency to version 0.6.0 or later to apply the official patch. For environments where immediate upgrade is not feasible, Node.js should be run with the --disable-proto=delete flag, which is recommended to prevent prototype pollution by disabling prototype modification methods. Alternatively, --disable-proto=throw can be used to throw errors on such attempts. Implement runtime application self-protection (RASP) or Web Application Firewall (WAF) rules to detect and block suspicious payloads attempting prototype pollution. Continuous monitoring and logging should be enhanced to detect anomalous behavior indicative of exploitation attempts. Finally, developers should be trained to recognize prototype pollution risks and avoid unsafe object property assignments in custom code.
Description
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.
References
- github.com/helmetjs/content-security-policy-parser/security/advisories/GHSA-w2cq-g8g3-gm83 (opens in a new tab)
- github.com/helmetjs/content-security-policy-parser/issues/11 (opens in a new tab)
- github.com/helmetjs/content-security-policy-parser/commit/b13a52554f0168af393e3e38ed4a94e9e6aea9dc (opens in a new tab)
- vicarius.io/vsociety/posts/cve-2025-55164-detect-node-csp-parser-vulnerability (opens in a new tab)
- vicarius.io/vsociety/posts/cve-2025-55164-mitigate-csp-parser-vulnerability (opens in a new tab)