CVE-2021-4140: Critical severity Mozilla Firefox vulnerability

Published Jan 11, 2022
·
Updated

It was possible to construct specific XSLT markup that would be able to bypass an iframe sandbox.

Affected Software

41 affected componentsFixes available
Mozilla Firefox<96.0
Mozilla Firefox ESR<91.5
Mozilla Thunderbird<91.5
Mozilla Firefox ESR<91.5
91.5
Mozilla Thunderbird<91.5
91.5
Mozilla Firefox<96
96
redhat/firefox<91.5
91.5
redhat/thunderbird<91.5
91.5
debian/firefox
96.0-1
debian/firefox-esr
91.5.0esr-1~deb9u191.5.0esr-1~deb10u191.5.0esr-1~deb11u191.5.0esr-1
debian/thunderbird
1:91.5.0-1~deb9u11:91.5.0-2~deb10u11:91.5.0-2~deb11u11:91.5.0-1
alpine/firefox<97.0-r0
97.0-r0
alpine/firefox<97.0-r0
97.0-r0
alpine/firefox<97.0-r0
97.0-r0
alpine/firefox<97.0-r0
97.0-r0
alpine/firefox<97.0-r0
97.0-r0
alpine/firefox<97.0-r0
97.0-r0
alpine/firefox<97.0-r0
97.0-r0
alpine/firefox<97.0-r0
97.0-r0
alpine/firefox-esr<91.5.0-r0
91.5.0-r0
alpine/firefox-esr<91.5.0-r0
91.5.0-r0
alpine/firefox-esr<91.5.0-r0
91.5.0-r0
alpine/firefox-esr<91.5.0-r0
91.5.0-r0
alpine/firefox-esr<91.5.0-r0
91.5.0-r0
alpine/firefox-esr<91.5.0-r0
91.5.0-r0
alpine/firefox-esr<91.5.0-r0
91.5.0-r0
alpine/firefox-esr<91.5.0-r0
91.5.0-r0
alpine/firefox-esr<91.5.0-r0
91.5.0-r0
alpine/librewolf<97.0-r0
97.0-r0
alpine/librewolf<97.0-r0
97.0-r0
alpine/librewolf<97.0-r0
97.0-r0
alpine/librewolf<97.0-r0
97.0-r0
alpine/librewolf<97.0-r0
97.0-r0
alpine/thunderbird<91.5.0-r0
91.5.0-r0
alpine/thunderbird<91.5.0-r0
91.5.0-r0
alpine/thunderbird<91.5.0-r0
91.5.0-r0
alpine/thunderbird<91.5.0-r0
91.5.0-r0
alpine/thunderbird<91.5.0-r0
91.5.0-r0
alpine/thunderbird<91.5.0-r0
91.5.0-r0
alpine/thunderbird<91.5.0-r0
91.5.0-r0
alpine/thunderbird<91.5.0-r0
91.5.0-r0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Firefox ESR to a version that resolves this vulnerability.

    Fixed in 91.5
  2. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 91.5
  3. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 96
  4. Upgrade

    Upgrade alpine/firefox to a version that resolves this vulnerability.

    Fixed in 97.0-r0
  5. Upgrade

    Upgrade alpine/firefox-esr to a version that resolves this vulnerability.

    Fixed in 91.5.0-r0
  6. Upgrade

    Upgrade alpine/librewolf to a version that resolves this vulnerability.

    Fixed in 97.0-r0
  7. Upgrade

    Upgrade alpine/thunderbird to a version that resolves this vulnerability.

    Fixed in 91.5.0-r0
  8. Upgrade

    Upgrade redhat/firefox to a version that resolves this vulnerability.

    Fixed in 91.5
  9. Upgrade

    Upgrade redhat/thunderbird to a version that resolves this vulnerability.

    Fixed in 91.5
  10. Upgrade

    Upgrade debian/firefox to a version that resolves this vulnerability.

    Fixed in 96.0-1
  11. Upgrade

    Upgrade debian/firefox-esr to a version that resolves this vulnerability.

    Fixed in 91.5.0esr-1~deb9u1Fixed in 91.5.0esr-1~deb10u1Fixed in 91.5.0esr-1~deb11u1Fixed in 91.5.0esr-1
  12. Upgrade

    Upgrade debian/thunderbird to a version that resolves this vulnerability.

    Fixed in 1:91.5.0-1~deb9u1Fixed in 1:91.5.0-2~deb10u1Fixed in 1:91.5.0-2~deb11u1Fixed in 1:91.5.0-1

Event History

Jan 11, 2022
CVE Published
12:00 AM
Data Sourced
12:00 AM
DescriptionSeverityAffected Software
Updated
12:00 AM
Affected Software
Jan 12, 2022
Data Sourced
via Red Hat·12:13 AM
DescriptionSeverityAffected Software
Dec 22, 2022
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
DescriptionWeakness
Data Sourced
via NVD·08:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
Data Sourced
via OSV·08:15 PM
DescriptionSeverityAffected Software
Jan 3, 2023
Data Sourced
08:03 PM
RemedyWeakness
Dec 3, 2026
Updated
via OSV·11:32 PM
Affected Software

Parent advisories

This vulnerability appears in the following advisories.

Frequently Asked Questions

1

What is the vulnerability ID of this issue?

The vulnerability ID of this issue is CVE-2021-4140.

2

What is the severity of CVE-2021-4140?

The severity of CVE-2021-4140 is critical.

3

Which software versions are affected by CVE-2021-4140?

CVE-2021-4140 affects Firefox ESR versions before 91.5, Firefox versions before 96, and Thunderbird versions before 91.5.

4

How can an attacker exploit CVE-2021-4140?

An attacker can exploit CVE-2021-4140 by constructing specific XSLT markup to bypass an iframe sandbox.

5

Where can I find more information about CVE-2021-4140?

You can find more information about CVE-2021-4140 in the following references: [Mozilla Bugzilla](https://bugzilla.mozilla.org/show_bug.cgi?id=1746720), [Mozilla Security Advisory MFSA2022-03](https://www.mozilla.org/en-US/security/advisories/mfsa2022-03/), [Mozilla Security Advisory MFSA2022-01](https://www.mozilla.org/en-US/security/advisories/mfsa2022-01/).

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203