Vulnerabilities / CVE-2021-4140

critical

CVE-2021-4140

Mozilla: Iframe sandbox bypass with XSLT

Published Modified CWE 91
In the Trivy database since at least 24 Oct 2026, 07:11 UTCWhen it arrived before that build is not recorded.

Severity by source

NVD10.0CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
Red Hat9.6CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H

Trivy's own label is CRITICAL. Rated critical by NVD. Rated lower by Red Hat (high), AlmaLinux (high), Amazon (high), Oracle (high), Rocky Linux (high), Ubuntu (medium).

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.

Affected packages and fixed versions

SourcePackageFixed in
alma 8firefox, thunderbird91.5.0-1.el8_5.alma
alpine 3.15firefox-esr91.5.0-r0
alpine 3.16firefox, firefox-esr, thunderbird97.0-r0 and 1 more
alpine 3.17firefox, firefox-esr, thunderbird97.0-r0 and 1 more
alpine 3.18firefox, firefox-esr, thunderbird97.0-r0 and 1 more
alpine 3.19firefox, firefox-esr, thunderbird97.0-r0 and 1 more
alpine 3.20firefox, firefox-esr, thunderbird97.0-r0 and 1 more
alpine 3.21firefox, firefox-esr, librewolf and 1 more97.0-r0 and 1 more
alpine 3.22firefox, firefox-esr, librewolf and 1 more97.0-r0 and 1 more
alpine 3.23firefox, firefox-esr, librewolf and 1 more97.0-r0 and 1 more
alpine 3.24librewolf97.0-r0
alpine edgelibrewolf97.0-r0
Show all 73 entries from 33 sources
SourcePackageFixed in
alma 8firefox91.5.0-1.el8_5.alma
alma 8thunderbird91.5.0-1.el8_5.alma
alpine 3.15firefox-esr91.5.0-r0
alpine 3.16firefox97.0-r0
alpine 3.16firefox-esr91.5.0-r0
alpine 3.16thunderbird91.5.0-r0
alpine 3.17firefox97.0-r0
alpine 3.17firefox-esr91.5.0-r0
alpine 3.17thunderbird91.5.0-r0
alpine 3.18firefox97.0-r0
alpine 3.18firefox-esr91.5.0-r0
alpine 3.18thunderbird91.5.0-r0
alpine 3.19firefox97.0-r0
alpine 3.19firefox-esr91.5.0-r0
alpine 3.19thunderbird91.5.0-r0
alpine 3.20firefox97.0-r0
alpine 3.20firefox-esr91.5.0-r0
alpine 3.20thunderbird91.5.0-r0
alpine 3.21firefox97.0-r0
alpine 3.21firefox-esr91.5.0-r0
alpine 3.21librewolf97.0-r0
alpine 3.21thunderbird91.5.0-r0
alpine 3.22firefox97.0-r0
alpine 3.22firefox-esr91.5.0-r0
alpine 3.22librewolf97.0-r0
alpine 3.22thunderbird91.5.0-r0
alpine 3.23firefox97.0-r0
alpine 3.23firefox-esr91.5.0-r0
alpine 3.23librewolf97.0-r0
alpine 3.23thunderbird91.5.0-r0
alpine 3.24librewolf97.0-r0
alpine edgelibrewolf97.0-r0
amazon linux 2thunderbird91.6.0-1.amzn2.0.1
amazon linux 2thunderbird-debuginfo91.6.0-1.amzn2.0.1
debian 10firefox-esr91.5.0esr-1~deb10u1
debian 10thunderbird1:91.5.0-2~deb10u1
debian 11firefox-esr91.5.0esr-1~deb11u1
debian 11thunderbird1:91.5.0-2~deb11u1
debian 12firefox-esr91.5.0esr-1
debian 12thunderbird1:91.5.0-1
debian 13firefox-esr91.5.0esr-1
debian 13thunderbird1:91.5.0-1
debian 14firefox-esr91.5.0esr-1
debian 14thunderbird1:91.5.0-1
debian 9firefox-esr91.5.0esr-1~deb9u1
debian 9thunderbird1:91.5.0-1~deb9u1
echofirefox-esr91.5.0esr-1
echothunderbird1:91.5.0-1
Oracle Linux 7firefox91.5.0-1.0.1.el7_9
Oracle Linux 7thunderbird91.5.0-1.0.1.el7_9
Oracle Linux 8firefox91.5.0-1.0.1.el8_5
Oracle Linux 8thunderbird91.5.0-1.0.1.el8_5
Red Hatfirefoxno fix listed
Red Hatthunderbirdno fix listed
rocky 8firefox91.5.0-1.el8_5
rocky 8thunderbird91.5.0-1.el8_5
ubuntu 18.04firefox96.0+build2-0ubuntu0.18.04.1
ubuntu 18.04thunderbird1:91.5.0+build1-0ubuntu0.18.04.1
ubuntu 20.04firefox96.0+build2-0ubuntu0.20.04.1
ubuntu 20.04thunderbird1:91.5.0+build1-0ubuntu0.20.04.1
ubuntu 21.04firefox96.0+build2-0ubuntu0.21.04.1
ubuntu 21.10firefox96.0+build2-0ubuntu0.21.10.1
ubuntu 21.10thunderbird1:91.5.0+build1-0ubuntu0.21.10.1
ubuntu 22.04firefox96.0+build2-0ubuntu1
ubuntu 22.04thunderbird1:91.5.0+build1-0ubuntu1
ubuntu 22.10firefox96.0+build2-0ubuntu1
ubuntu 22.10thunderbird1:91.5.0+build1-0ubuntu1
ubuntu 23.04firefox96.0+build2-0ubuntu1
ubuntu 23.04thunderbird1:91.5.0+build1-0ubuntu1
ubuntu 23.10firefox96.0+build2-0ubuntu1
ubuntu 23.10thunderbird1:91.5.0+build1-0ubuntu1
ubuntu 24.04firefox96.0+build2-0ubuntu1
ubuntu 24.04thunderbird1:91.5.0+build1-0ubuntu1

References

All 42 references

Vulnerability data compiled from the Trivy vulnerability database (trivy-db, Aqua Security, Apache License 2.0), which aggregates third-party advisories. CVE records are published by The MITRE Corporation under the CVE Terms of Use; CVE is a trademark of MITRE. This product uses data from the NVD API but is not endorsed or certified by the NVD. Severity, titles and advisory data from the GitHub Advisory Database (CC BY 4.0), Red Hat security data (CC BY 4.0) and the other sources linked on each entry. Entries may be summarised or re-formatted; the linked original is the authoritative record.