CVE-2025-55164

content-security-policy-parser Prototype Pollution Vulnerability May Lead to RCE

Published Aug 12, 2025 CVSS 4.0 · 8.8 High EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2025-24266 content-security-policy-parser Prototype Pollution Vulnerability May Lead to RCE
Github GHSA Github GHSA GHSA-w2cq-g8g3-gm83 content-security-policy-parser Prototype Pollution Vulnerability May Lead to RCE
History
Type Values Removed Values Added
First Time appeared Content-security-policy-parser Project
Content-security-policy-parser Project content-security-policy-parser
Vendors & Products Content-security-policy-parser Project
Content-security-policy-parser Project content-security-policy-parser
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
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.
Title content-security-policy-parser Prototype Pollution Vulnerability May Lead to RCE
Weaknesses CWE-1321
References
Metrics cvssV4_0

{'score': 8.8, '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'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Aug 20, 2025, 7:39 PM
Reserved
Aug 7, 2025, 6:27 PM
Status
Deferred
Published
Aug 12, 2025, 4:15 PM
Modified
Jun 17, 2026, 9:41 AM