{"id":"CVE-2025-55164","aliases":["GHSA-w2cq-g8g3-gm83"],"url":"https://o3.security/vulnerability/CVE-2025-55164","summary":"content-security-policy-parser Prototype Pollution Vulnerability May Lead to RCE","details":"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.","published":"2025-08-12T16:02:44.952Z","modified":"2026-07-15T01:49:21.140833251Z","cvss":null,"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"npm","name":"content-security-policy-parser","fixedVersion":"0.6.0"}],"fix":{"url":"https://github.com/helmetjs/content-security-policy-parser/commit/b13a52554f0168af393e3e38ed4a94e9e6aea9dc","label":"helmetjs/content-security-policy-parser@b13a525"},"references":[{"type":"WEB","url":"https://www.vicarius.io/vsociety/posts/cve-2025-55164-detect-node-csp-parser-vulnerability"},{"type":"WEB","url":"https://www.vicarius.io/vsociety/posts/cve-2025-55164-mitigate-csp-parser-vulnerability"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/55xxx/CVE-2025-55164.json"},{"type":"ADVISORY","url":"https://github.com/helmetjs/content-security-policy-parser/security/advisories/GHSA-w2cq-g8g3-gm83"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-55164"},{"type":"REPORT","url":"https://github.com/helmetjs/content-security-policy-parser/issues/11"},{"type":"FIX","url":"https://github.com/helmetjs/content-security-policy-parser/commit/b13a52554f0168af393e3e38ed4a94e9e6aea9dc"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-07-15T01:49:21.140833251Z"}}