CVE 8.8 HIGH

content-security-policy-parser Prototype Pollution Vulnerability May Lead to RCE_CVE-2025-55164

8.8 / 10
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

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.

Basic Information

ID CVE-2025-55164
Source GitHub_M
Published Aug 12, 2025 at 16:02
Modified Aug 12, 2025 at 17:53

Affected Product

Vendor helmetjs
Product content-security-policy-parser
Version < 0.6.0
Affected Versions helmetjs content-security-policy-parser < 0.6.0

CWE Classification

References

💭 Join the Security Discussion

🔒 Your email address will not be published. Required fields are marked *

⚠️ Please be respectful and constructive in your comments. Security discussions should remain professional.