CVE-2021-4140 Security feature bypass in Firefox

Critical 9.8 Published Updated

Attackers can bypass iframe sandbox restrictions using specific XSLT markup in Firefox and Thunderbird, requiring users to upgrade to patched versions.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2021-4140?

CVE-2021-4140 is a critical vulnerability in Mozilla Firefox, published on 22 Dec 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

It was possible to construct specific XSLT markup that would be able to bypass an iframe sandbox. This vulnerability affects Firefox ESR < 91.5, Firefox < 96, and Thunderbird < 91.5.

Weakness: CWE-91

Which versions are affected by CVE-2021-4140?

It affects 3 products.

Products include Mozilla Firefox, Mozilla Firefox Esr, Mozilla Thunderbird.

How do I fix CVE-2021-4140?

Upgrade to a fixed version.

Is CVE-2021-4140 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2021-4140 exists.

All Mozilla Firefox vulnerabilities

Sources

Also known as DEBIAN-CVE-2021-4140, GHSA-h5mr-xp97-c4p5, UBUNTU-CVE-2021-4140.

Is CVE-2021-4140 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free