CVE-2022-22759: Critical severity Mozilla Firefox vulnerability
If a document created a sandboxed iframe without allow-scripts, and subsequently appended an element to the iframe's document that e.g. had a JavaScript event handler - the event handler would have run despite the iframe's sandbox.
External Reference:
https://www.mozilla.org/en-US/security/advisories/mfsa2022-05/#CVE-2022-22759
Other sources
If a document created a sandboxed iframe without <code>allow-scripts</code>, and subsequently appended an element to the iframe's document that e.g. had a JavaScript event handler - the event handler would have run despite the iframe's sandbox. This vulnerability affects Firefox < 97, Thunderbird < 91.6, and Firefox ESR < 91.6.
If a document created a sandboxed iframe without allow-scripts, and subsequently appended an element to the iframe's document that e.g. had a JavaScript event handler - the event handler would have run despite the iframe's sandbox.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
Firefox ESRto a version that resolves this vulnerability.Fixed in 91.6 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 97 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 91.6 - Upgrade
Upgrade
redhat/firefoxto a version that resolves this vulnerability.Fixed in 91.6 - Upgrade
Upgrade
redhat/thunderbirdto a version that resolves this vulnerability.Fixed in 91.6 - Upgrade
Upgrade
alpine/firefoxto a version that resolves this vulnerability.Fixed in 97.0-r0 - Upgrade
Upgrade
alpine/firefox-esrto a version that resolves this vulnerability.Fixed in 91.6.0-r0 - Upgrade
Upgrade
alpine/librewolfto a version that resolves this vulnerability.Fixed in 97.0-r0 - Upgrade
Upgrade
alpine/thunderbirdto a version that resolves this vulnerability.Fixed in 91.6.0-r0 - Upgrade
Upgrade
debian/firefox-esrto a version that resolves this vulnerability.Fixed in 91.6.0esr-1 - Upgrade
Upgrade
debian/thunderbirdto a version that resolves this vulnerability.Fixed in 1:91.6.0-1 - Upgrade
Upgrade
debian/firefoxto a version that resolves this vulnerability.Fixed in 97.0-1 - Upgrade
Upgrade
debian/firefox-esrto a version that resolves this vulnerability.Fixed in 91.6.0esr-1~deb9u1Fixed in 91.6.0esr-1~deb10u1Fixed in 91.6.0esr-1~deb11u1Fixed in 91.6.0esr-1 - Upgrade
Upgrade
debian/thunderbirdto a version that resolves this vulnerability.Fixed in 1:91.6.0-1~deb9u1Fixed in 1:91.6.0-1~deb10u1Fixed in 1:91.6.0-1~deb11u1Fixed in 1:91.6.0-1 - Upgrade
Upgrade
ubuntu/firefoxto a version that resolves this vulnerability.Fixed in 97.0+build2-0ubuntu0.18.04.1 - Upgrade
Upgrade
ubuntu/thunderbirdto a version that resolves this vulnerability.Fixed in 1:91.7.0+build2-0ubuntu0.18.04.1 - Upgrade
Upgrade
ubuntu/firefoxto a version that resolves this vulnerability.Fixed in 97.0+build2-0ubuntu0.20.04.1 - Upgrade
Upgrade
ubuntu/thunderbirdto a version that resolves this vulnerability.Fixed in 1:91.7.0+build2-0ubuntu0.20.04.1 - Upgrade
Upgrade
ubuntu/firefoxto a version that resolves this vulnerability.Fixed in 97.0+build2-0ubuntu1 - Upgrade
Upgrade
ubuntu/thunderbirdto a version that resolves this vulnerability.Fixed in 1:91.6.1+build1-0ubuntu1
Event History
Parent advisories
This vulnerability appears in the following advisories.
Peer vulnerabilities
Found alongside the following vulnerabilities.
Frequently Asked Questions
What is the severity of CVE-2022-22759?
CVE-2022-22759 has been classified as a moderate severity vulnerability.
How do I fix CVE-2022-22759?
To fix CVE-2022-22759, update Firefox to version 97 or later, or update Firefox ESR to version 91.6 or later.
Which versions of Firefox are affected by CVE-2022-22759?
CVE-2022-22759 affects Firefox versions prior to 97 and Firefox ESR prior to 91.6.
Does CVE-2022-22759 affect Thunderbird?
Yes, CVE-2022-22759 affects Thunderbird versions prior to 91.6.
What is the impact of CVE-2022-22759?
The impact of CVE-2022-22759 includes potential script execution in sandboxed iframes without the required permissions.