CVE-2022-34468
Mozilla: CSP sandbox header without `allow-scripts` can be bypassed via retargeted javascript: URI
Severity
ImportantRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · June 28, 2022
Updated · November 21, 2025
Description
The Mozilla Foundation Security Advisory describes this flaw as:
An iframe that was not permitted to run scripts could do so if the user clicked on a javascript: link.
Statement
Red Hat Product Security rates the severity of this flaw as determined by the Mozilla Foundation Security Advisory.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
No mitigation is specified in collected source.
CVSS / CWE
CVSS 3.1 · 8.8CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
CWE-79 · Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')