CVE-2025-55164CWE-1321

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

High · published August 12, 2025

CVSS v4.0
8.8
EPSS
0%
Percentile
37.3
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v4.0
8.8 · HIGH
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
EPSS
0.00441 · 37.3th percentile
Weakness
CWE-1321 · Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')
Published
2025-08-12T16:02Z
EPSS history
Timeline
  • 12 AUG 16:02Z
    content-security-policy-parser Prototype Pollution Vulnerability May Lead to RCE
    cvelistv5