CVE Database›CVE-2022-22759

CVE-2022-22759

Mozilla: Sandboxed iframes could have executed script if the parent appended elements

Loading…

Severity

Moderate

Red Hat Product Security

9.6

CVSS 3.1

Review impact separately from score.

Published · February 8, 2022

Updated · November 21, 2025

Description

The Mozilla Foundation Security Advisory describes this flaw as:

If a document created a sandboxed iframe without allow-scripts and subsequently appended an element to the iframe's document that, for example, had a JavaScript event handler - the event handler would have run despite the iframe's sandbox.

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 · 9.6
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H

CWE-829 · Inclusion of Functionality from Untrusted Control Sphere