CVE-2022-22759 Security feature bypass in Firefox
Attackers can execute JavaScript in sandboxed iframes by appending elements with event handlers, bypassing security restrictions in Firefox and Thunderbird.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2022-22759?
CVE-2022-22759 is a critical vulnerability in Mozilla Firefox, published on 22 Dec 2022. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
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.
Weakness: CWE-693
Which versions are affected by CVE-2022-22759?
It affects 3 products.
Products include Mozilla Firefox, Mozilla Firefox Esr, Mozilla Thunderbird.
How do I fix CVE-2022-22759?
Upgrade to a fixed version.
Is CVE-2022-22759 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-22759 exists.
Other vulnerabilities in Mozilla Firefox
Sources
Also known as DEBIAN-CVE-2022-22759, GHSA-7qpp-mq9c-7449, UBUNTU-CVE-2022-22759.