# CVE-2025-55164: content-security-policy-parser Prototype Pollution Vulnerability May Lead to RCE

- Severity: High 8.8 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.50%, higher than 44% of CVEs (2026-12-01)
- Published: 2025-08-12T16:02:44.952Z
- Modified: 2026-06-17T09:41:23.160Z
- Also known as: GHSA-w2cq-g8g3-gm83
- Weaknesses: CWE-1321
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- helmetjs content-security-policy-parser: < 0.6.0
- content-security-policy-parser (npm): before 0.6.0

## Every score

- GitHub_M: CVSS:4.0 8.8 High `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`
- GitHub: CVSS:4.0 High `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`

## References

- <https://github.com/helmetjs/content-security-policy-parser/security/advisories/GHSA-w2cq-g8g3-gm83> (web)
- <https://github.com/helmetjs/content-security-policy-parser/issues/11> (web)
- <https://github.com/helmetjs/content-security-policy-parser/commit/b13a52554f0168af393e3e38ed4a94e9e6aea9dc> (web)
- <https://www.vicarius.io/vsociety/posts/cve-2025-55164-detect-node-csp-parser-vulnerability>
- <https://www.vicarius.io/vsociety/posts/cve-2025-55164-mitigate-csp-parser-vulnerability>
- <https://nvd.nist.gov/vuln/detail/CVE-2025-55164> (advisory)
- <https://github.com/helmetjs/content-security-policy-parser> (package)

## Sources

- CVE List: [CVE-2025-55164](https://www.cve.org/CVERecord?id=CVE-2025-55164), CVE Terms of Use, modified 2025-08-20
- GitHub Advisory Database: [GHSA-w2cq-g8g3-gm83](https://github.com/advisories/GHSA-w2cq-g8g3-gm83), CC-BY-4.0, modified 2025-08-12
- NVD: [CVE-2025-55164](https://nvd.nist.gov/vuln/detail/CVE-2025-55164), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-55164 · Whole record: https://cve.day/CVE-2025-55164.json · Rebuilt by cve.day 2026-11-25T22:59:02.317Z
