{"id":"CVE-2025-55164","published":"2025-08-12T16:02:44Z","modified":"2025-08-20T19:39:47Z","title":"content-security-policy-parser Prototype Pollution Vulnerability May Lead to RCE","vendor":"helmetjs","product":"content-security-policy-parser","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.8,"severity":"HIGH","version":"4.0","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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01054,"percentile":0.63752,"provenance":"source"},"cwes":[{"id":"CWE-1321","name":"Improperly Controlled Modification of Object Prototype Attributes"}],"references":[{"url":"https://github.com/helmetjs/content-security-policy-parser/security/advisories/GHSA-w2cq-g8g3-gm83","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/helmetjs/content-security-policy-parser/issues/11","tags":["x_refsource_MISC"]},{"url":"https://github.com/helmetjs/content-security-policy-parser/commit/b13a52554f0168af393e3e38ed4a94e9e6aea9dc","tags":["x_refsource_MISC"]},{"url":"https://www.vicarius.io/vsociety/posts/cve-2025-55164-detect-node-csp-parser-vulnerability","tags":[]},{"url":"https://www.vicarius.io/vsociety/posts/cve-2025-55164-mitigate-csp-parser-vulnerability","tags":[]}],"priority":{"score":18.9,"factors":[{"name":"EPSS percentile","points":12.75},{"name":"CVSS severity","points":6.16}]},"vendorSlug":"helmetjs","affectedVersions":[{"vendor":"helmetjs","product":"content-security-policy-parser","versions":["< 0.6.0"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2025-08-12T17:52:38.896996Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"content-security-policy-parser","vulnerableRanges":["<0.6.0"],"patched":["0.6.0"],"from":["GHSA-w2cq-g8g3-gm83"],"provenance":"source"}],"summary":{"text":"The content-security-policy-parser library from helmetjs contains a prototype pollution flaw in its directive handling, where a policy name of __proto__ allows the Object prototype to be overridden. An unauthenticated remote attacker can trigger this over the network with no user interaction, low attack complexity, and no special configuration, by supplying a crafted policy that uses that name.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:35:13Z"},"euvd":{"id":"EUVD-2025-24266","exploited":false,"provenance":"source"}}