Skip to main content
CVE-2025-55164VulnerabilityPublished Updated

CVE-2025-55164: helmetjs content-security-policy-parser · Prototype Pollution

Affects helmetjs content-security-policy-parserSource CVE Database V5

0

Not known to be exploited · CVSS 8.8 High : upgrade to 0.6.0 soon.

Data as of 25 Oct 2026, 19:02 UTC

CVSS 4.0 base score
8.8High
How severe the flaw is on the 0–10 CVSS scale.
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:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 12 Aug 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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

ProductAffectedFixed in
helmetjs content-security-policy-parserAffected
  • <0.6.0
Fixed in
  • 0.6.0

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

Community reviews

Loading reviews…