CVE-2022-38472
NixOS vulnerability analysis and mitigation

Overview

CVE-2022-38472 is a high-severity vulnerability discovered in Mozilla Firefox and Thunderbird browsers that allows address bar spoofing through XSLT error handling. The vulnerability was discovered by Armin Ebert and disclosed on August 23, 2022. It affects Firefox < 104.0, Firefox ESR < 102.2, Firefox ESR < 91.13, Thunderbird < 102.2, and Thunderbird < 91.13 (Mozilla Advisory, Mozilla Advisory ESR).

Technical details

The vulnerability exists in the XSLT processor's error handling mechanism where an attacker could abuse XSLT error handling to associate attacker-controlled content with another origin which was displayed in the address bar. The issue occurs when the XSLT processor acts on the wrong context when reporting an error, potentially substituting the wrong document with an attacker-controlled error document. This can cause a state where different documents of potentially different origins refer to the same outer window (Mozilla Advisory).

Impact

The vulnerability allows attackers to spoof the address bar, security UI, and Android-native password autofill. On Firefox for Android, attackers could fully spoof any URL in the address bar, including security indicators, and trigger Google autofill to insert stored credentials for the spoofed origin. Even with Fission enabled, the bug could be exploited when navigation between subdomains and/or ports happens in-process, or by using error pages that load before process switches (Bugzilla).

Mitigation and workarounds

The vulnerability was patched in Firefox 104.0, Firefox ESR 102.2, Firefox ESR 91.13, Thunderbird 102.2, and Thunderbird 91.13. Users are advised to update to these versions or later to mitigate the vulnerability. For Thunderbird users, it's noted that these flaws cannot be exploited through email as scripting is disabled when reading mail, but are potentially risks in browser or browser-like contexts (Mozilla Advisory, Thunderbird Advisory).

Additional resources


SourceThis report was generated using AI

Related NixOS vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-12819HIGH8.1
  • NixOSNixOS
  • pgbouncer
NoYesDec 03, 2025
CVE-2025-20777MEDIUM6.7
  • NixOSNixOS
  • android
NoNoDec 02, 2025
CVE-2025-65105MEDIUM5.3
  • NixOSNixOS
  • apptainer
NoYesDec 02, 2025
CVE-2025-20789MEDIUM4.4
  • NixOSNixOS
  • android
NoNoDec 02, 2025
CVE-2025-20788MEDIUM4.4
  • NixOSNixOS
  • android
NoNoDec 02, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management