CVE-2021-38503 in Debian Linux and 3 more products
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.
Affects 4 products from 2 vendors. Facts below cite their sources.
Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, can impact systems beyond the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Debian | Debian Linux | 9.0 10.0 11.0 |
| Mozilla | Firefox | < 94.0 |
| Mozilla | Thunderbird | < 91.3 |
| Mozilla | Firefox Esr | < 91.3 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official 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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2021-38503 |
|---|---|
| BreachSpider ID | BS-2021-GLOBAL-072766-C |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H |
| Published | 2021-12-08 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-863: Incorrect Authorization
Software performs an authorization check incorrectly, allowing access beyond intended privileges.
Analysis AI-written, not human-reviewed
A critical vulnerability in Firefox, Thunderbird, and Firefox ESR allows iframes to bypass sandbox restrictions through improperly applied XSLT stylesheet rules, enabling script execution and top-level frame navigation.
An attacker can exploit this vulnerability by crafting a malicious XSLT stylesheet that targets an iframe with sandbox attributes. This stylesheet can bypass the intended restrictions, leading to unauthorized script execution and potential control over the top-level browsing context.
Questions
What is CVE-2021-38503?
A critical vulnerability in Firefox, Thunderbird, and Firefox ESR allows iframes to bypass sandbox restrictions through improperly applied XSLT stylesheet rules, enabling script execution and top-level frame navigation.
What is the CVSS score for CVE-2021-38503?
CVE-2021-38503 has CVSS 10.0 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H. EPSS: 2.5%.
Is CVE-2021-38503 actively exploited?
No confirmed active exploitation of CVE-2021-38503 as of 2026-09-25.
How do I remediate CVE-2021-38503?
Priority: IMMEDIATE. Advisory: https://www.mozilla.org/security/advisories/mfsa2021-48/ PSIRT: [email protected]
What systems are affected by CVE-2021-38503?
CVE-2021-38503 affects Debian Debian Linux; Mozilla Firefox, Thunderbird, Firefox Esr.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Debian","product":"Debian Linux","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.