# CVE-2021-38503: The iframe sandbox rules were not correctly applied to XSLT stylesheets, allowing an iframe to bypass restrictions such as executing script…

- Severity: Critical 10.0 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 2.54%, higher than 86% of CVEs (2026-11-30)
- Published: 2021-12-08T21:22:07.000Z
- Modified: 2026-06-17T04:02:14.397Z
- Weaknesses: CWE-863
- Assigned by: mozilla

## Description

The iframe sandbox rules were not correctly applied to XSLT stylesheets, allowing an iframe to bypass restrictions such as executing scripts or navigating the top-level frame. This vulnerability affects Firefox < 94, Thunderbird < 91.3, and Firefox ESR < 91.3.

(As written by CVE List.)

## Affected

- Mozilla Firefox: from unspecified before 94; before 94.0
- Mozilla Thunderbird: from unspecified before 91.3; before 91.3
- Mozilla Firefox ESR: from unspecified before 91.3
- mozilla firefox_esr: before 91.3
- debian debian_linux: 9.0; 10.0; 11.0

## Every score

- NVD: CVSS:3.1 10.0 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H`
- NVD: CVSS:2.0 7.5 High `AV:N/AC:L/Au:N/C:P/I:P/A:P`

## References

- <https://www.mozilla.org/security/advisories/mfsa2021-49/> (vendor-advisory)
- <https://www.mozilla.org/security/advisories/mfsa2021-50/> (vendor-advisory)
- <https://www.mozilla.org/security/advisories/mfsa2021-48/> (vendor-advisory)
- <https://bugzilla.mozilla.org/show_bug.cgi?id=1729517> (issue-tracking, permissions-required, vendor-advisory)
- <https://www.debian.org/security/2021/dsa-5026> (third-party-advisory, vendor-advisory)
- <https://lists.debian.org/debian-lts-announce/2021/12/msg00030.html> (mailing-list, third-party-advisory)
- <https://www.debian.org/security/2022/dsa-5034> (third-party-advisory, vendor-advisory)
- <https://lists.debian.org/debian-lts-announce/2022/01/msg00001.html> (mailing-list, third-party-advisory)
- <https://security.gentoo.org/glsa/202202-03> (third-party-advisory, vendor-advisory)
- <https://security.gentoo.org/glsa/202208-14> (third-party-advisory, vendor-advisory)

## Sources

- CVE List: [CVE-2021-38503](https://www.cve.org/CVERecord?id=CVE-2021-38503), CVE Terms of Use, modified 2024-08-04
- NVD: [CVE-2021-38503](https://nvd.nist.gov/vuln/detail/CVE-2021-38503), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-38503 · Whole record: https://cve.day/CVE-2021-38503.json · Rebuilt by cve.day 2026-11-25T22:58:05.897Z
