{"id":"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.","aliases":["GHSA-w2cq-g8g3-gm83"],"modified":"2026-08-12T03:51:46.599873539Z","published":"2025-08-12T16:02:44.952Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/55xxx/CVE-2025-55164.json","cna_assigner":"GitHub_M","cwe_ids":["CWE-1321"]},"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"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/helmetjs/content-security-policy-parser","events":[{"introduced":"0"},{"fixed":"b13a52554f0168af393e3e38ed4a94e9e6aea9dc"}],"database_specific":{"extracted_events":[{"introduced":"0"},{"fixed":"0.6.0"}],"source":["AFFECTED_FIELD","REFERENCES"]}}],"versions":["v0.5.0","v0.4.1","v0.4.0","v0.3.0","v0.2.0","v0.1.1","v0.1.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-55164.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"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"}]}