# CVE-2021-4140

- Priority: **Prioritise**
- Reason: Public exploit (reference, Date unknown)
- Next step: Check applicability and the vendor advisory: no fix release is recorded here
- Status: published
- Published: 2022-12-22 · Modified: 2025-04-16
- Aliases: UBUNTU-CVE-2021-4140, DEBIAN-CVE-2021-4140, ALPINE-CVE-2021-4140
- Record: https://cvemate.com/vulnerability/CVE-2021-4140 · JSON: https://cvemate.com/vulnerability/CVE-2021-4140/json

## Description

```text
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.
```

## Signals

- CVSS: 10 critical (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
- EPSS: 1.412%, percentile 73.621%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (reference)

## Affected

- alpine firefox (Alpine Linux): \< 97.0-r0
- alpine firefox-esr (Alpine Linux): \< 91.5.0-r0
- alpine librewolf (Alpine Linux): \< 97.0-r0
- alpine thunderbird (Alpine Linux): \< 91.5.0-r0
- debian firefox-esr (Debian): \< 91.5.0esr-1
- debian thunderbird (Debian): \< 1:91.5.0-1
- ubuntu firefox (Ubuntu): \< 96.0+build2-0ubuntu0.18.04.1 \| \< 96.0+build2-0ubuntu0.20.04.1 \| \< 96.0+build2-0ubuntu1
- ubuntu mozjs38 (Ubuntu): All versions (No fix recorded)
- ubuntu mozjs52 (Ubuntu): All versions (No fix recorded)
- ubuntu mozjs68 (Ubuntu): All versions (No fix recorded)
- ubuntu mozjs78 (Ubuntu): All versions (No fix recorded)
- ubuntu thunderbird (Ubuntu): \< 1:91.5.0+build1-0ubuntu0.18.04.1 \| \< 1:91.5.0+build1-0ubuntu0.20.04.1 \| \< 1:91.5.0+build1-0ubuntu1
- mozilla firefox: ≥ unspecified, \< 96 \| \< 96.0
- mozilla firefox esr: ≥ unspecified, \< 91.5 \| \< 91.5
- mozilla thunderbird: ≥ unspecified, \< 91.5 \| \< 91.5

## References

- <https://www.mozilla.org/security/advisories/mfsa2022-01/>
- <https://www.mozilla.org/security/advisories/mfsa2022-02/>
- <https://www.mozilla.org/security/advisories/mfsa2022-03/>
- <https://bugzilla.mozilla.org/show_bug.cgi?id=1746720>
- <https://ubuntu.com/security/CVE-2021-4140>
- <https://www.mozilla.org/en-US/security/advisories/mfsa2022-01/#CVE-2021-4140>
- <https://www.mozilla.org/en-US/security/advisories/mfsa2022-02/#CVE-2021-4140>
- <https://www.mozilla.org/en-US/security/advisories/mfsa2022-03/#CVE-2021-4140>
- <https://ubuntu.com/security/notices/USN-5229-1>
- <https://ubuntu.com/security/notices/USN-5246-1>
- <https://ubuntu.com/security/notices/USN-5248-1>
- <https://www.cve.org/CVERecord?id=CVE-2021-4140>
- <https://security-tracker.debian.org/tracker/CVE-2021-4140>
- <https://security.alpinelinux.org/vuln/CVE-2021-4140>

---

Data as of 2026-12-05T05:31:36.552Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
