CVE-2022-22759

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

Critical · published December 22, 2022

CVSS v3.1
9.6
EPSS
1%
Percentile
55.6
In the wild
Unconfirmed
What it is

🚨 A sneaky JavaScript event handler can slip through a sandboxed iframe in Firefox and Thunderbird versions before 97 and 91.6 respectively! 🔥 Think of it like a restaurant with a 'no outside food' rule, but a clever diner manages to sneak in their snack by hiding it under the table—totally against the rules, but it still gets to be enjoyed! An attacker could exploit this oversight to execute malicious scripts in a supposedly secure sandbox, wreaking havoc by accessing sensitive data or manipulating the page. This could lead to serious privacy breaches or even allow the attacker to hijack user sessions. Imagine the chaos if the 'no entry' sign was ignored!

Put simply

Think of it like a restaurant with a 'no outside food' rule, but a clever diner manages to sneak in their snack by hiding it under the table—totally against the rules, but it still gets to be enjoyed! This vulnerability arises from a lack of effective restrictions in sandboxed iframes. When an element with a JavaScript event handler is added to an iframe without the `allow-scripts` attribute, that event handler can still execute, undermining the sandbox's intended protections.

What to do

An attacker could exploit this oversight to execute malicious scripts in a supposedly secure sandbox, wreaking havoc by accessing sensitive data or manipulating the page. This could lead to serious privacy breaches or even allow the attacker to hijack user sessions. Imagine the chaos if the 'no entry' sign was ignored! Immediate action is crucial! Update Firefox to version 97 or later, and Thunderbird to version 91.6 or newer to close this loophole. Regularly review your browser and email client versions to ensure they include the latest security patches. This is fixable! Keep your software up-to-date and you’ll maintain your hero status in the fight against vulnerabilities! 🛡️

The record
Technical detail
CVSS v3.1
9.6 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00785 · 55.6th percentile
Published
2022-12-22T00:00Z
EPSS history
Timeline
  • 22 DEC 00:00Z
    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
    cvelistv5