LiveActive security incident?Get immediate response
CVE Record

CVE-2021-4140: It was possible to construct specific XSLT markup that would be able to bypass an iframe sandbox.

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.

CriticalCVSS 9.8Not KEV-listedUpdated
Glexia's TakeAutomated analysiscritical

Security readout for executives and security teams

Plain-English summary

CVE-2021-4140 is a Mozilla sandbox-bypass issue involving specially crafted XSLT markup. Affected products are older Firefox, Firefox ESR, and Thunderbird releases. Because browser and mail-client sandbox boundaries protect users from hostile content, unpatched legacy endpoints should be treated as urgent exposure.

Executive priority

Prioritize remediation where old Mozilla clients remain in production. The vulnerability is critical by CVSS and affects sandbox protections, but urgency is highest for fleets with outdated or unmanaged desktop software.

Technical view

The vulnerability allowed specific XSLT markup to bypass an iframe sandbox. The CVE maps to CWE-91 and carries CVSS 3.1 score 9.8. Mozilla lists Firefox before 96, Firefox ESR before 91.5, and Thunderbird before 91.5 as affected.

Likely exposure

Exposure is most likely on unmanaged or legacy desktops running Firefox below 96, Firefox ESR below 91.5, or Thunderbird below 91.5. Modern supported releases should not be assumed vulnerable based on the provided sources.

Exploitation context

The provided bundle does not identify active exploitation, and the CVE is not marked as KEV. Treat exploitation status as unconfirmed. The issue is still serious because it affects browser/mail-client sandboxing, a control often relied on when handling untrusted web or message content.

Researcher notes

Evidence is limited to the CVE record, Mozilla advisories, and Bugzilla reference. Do not assume exploit availability or in-the-wild activity from the supplied material. Validation should focus on version exposure, not proof-of-exploit testing.

Mitigation direction

  • Upgrade Firefox to 96 or later, or a current vendor-supported release.
  • Upgrade Firefox ESR to 91.5 or later, or a current vendor-supported ESR release.
  • Upgrade Thunderbird to 91.5 or later, or a current vendor-supported release.
  • Check Mozilla advisories for any product-specific follow-up guidance.
  • Prioritize unmanaged endpoints and systems pinned to old ESR channels.

Validation and detection

  • Inventory installed Firefox, Firefox ESR, and Thunderbird versions across endpoints.
  • Flag Firefox below 96 as vulnerable based on the source bundle.
  • Flag Firefox ESR or Thunderbird below 91.5 as vulnerable.
  • Confirm patch deployment through endpoint management or software inventory data.
  • Review exceptions for business systems requiring old browser or mail-client versions.
Prepared
Confidence
high
Sources
6

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cwe · low confidence lookup

CWE-91: Exact CWE lookup

Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2021-4140 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
Critical
CVSS
9.8 (3.1)
Known Exploited
No
Published

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

1CVSS vectors
0Timeline events
0ADP providers
5Source links

CVSS vector scores

1 official score

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
9.8CVSS 3.1CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H3.95.9Primary CVE score

Vulnerability scoring details

Base CVSS 3.1 score

9.8Critical
CVSS 3.1 vector shape for CVE-2021-4140Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Privileges Required
NoneLowHigh
User Interaction
NoneRequired
Scope
ChangedUnchanged
Confidentiality Impact
HighLowNone
Integrity Impact
HighLowNone
Availability Impact
HighLowNone
Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
MozillaFirefox ESRunspecifiedListed
MozillaFirefoxunspecifiedListed
MozillaThunderbirdunspecifiedListed
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.

CWE-91 · source CWE mapping

XML Injection (aka Blind XPath Injection)

XML Injection (aka Blind XPath Injection) represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.