CVE-2022-31738
NixOS vulnerability analysis and mitigation

Overview

CVE-2022-31738 is a high-impact security vulnerability discovered in Mozilla Firefox that affects the browser's fullscreen functionality. The vulnerability was reported by Irvan Kurniawan and disclosed on May 31, 2022. The issue affects Firefox, Firefox ESR, and Thunderbird products, where an iframe could confuse the browser about the current state of fullscreen mode (Mozilla Advisory).

Technical details

The vulnerability occurs when exiting fullscreen mode, where an iframe from a different origin could confuse the browser about the current state of fullscreen. This confusion could result in the iframe content appearing to escape to the parent page, with the page still appearing to be in fullscreen mode despite having visible address bar and toolbar. The issue was introduced with the implementation of Fission-aware fullscreen code and requires both browser.tabs.documentchannel and fission.autostart to be enabled (Mozilla Bug).

Impact

The vulnerability allows potential user confusion and spoofing attacks. When exploited, the bug could enable attackers to display spoofed content without showing the fullscreen notification toast, potentially misleading users about the trustworthiness of the displayed content (Mozilla Advisory).

Mitigation and workarounds

The vulnerability was fixed in Firefox 101, Firefox ESR 91.10, and Thunderbird 91.10. Mozilla developers implemented changes to make the fullscreen code more reliable in cleaning up the fullscreen state for various cases. Users are advised to update to these versions or later to protect against this vulnerability (Mozilla 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-69264CRITICAL9.8
  • JavaScriptJavaScript
  • pnpm
NoYesJan 07, 2026
CVE-2025-69263HIGH8.8
  • JavaScriptJavaScript
  • pnpm
NoYesJan 07, 2026
CVE-2025-69262HIGH7.8
  • JavaScriptJavaScript
  • pnpm
NoYesJan 07, 2026
CVE-2025-20807MEDIUM6.7
  • NixOSNixOS
  • android
NoNoJan 06, 2026
CVE-2026-21885MEDIUM6.5
  • NixOSNixOS
  • miniflux
NoYesJan 08, 2026

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