CVE-2025-55164

Source
https://cve.org/CVERecord?id=CVE-2025-55164
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-55164.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2025-55164
Aliases
Published
2025-08-12T16:02:44.952Z
Modified
2026-04-02T12:54:38.597081Z
Severity
  • 8.8 (High) CVSS_V4 - 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 CVSS Calculator
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.

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

Affected packages

Git / github.com/helmetjs/content-security-policy-parser

Affected ranges

Type
GIT
Repo
https://github.com/helmetjs/content-security-policy-parser
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

v0.*
v0.1.0
v0.1.1
v0.2.0
v0.3.0
v0.4.0
v0.4.1
v0.5.0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-55164.json"