CVE-2025-55164

Source
https://nvd.nist.gov/vuln/detail/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:15:29Z
Modified
2025-08-20T20:55:52.485522Z
Summary
[none]
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.

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