CVE-2022-22761
NixOS vulnerability analysis and mitigation

Overview

Web-accessible extension pages (pages with a moz-extension:// scheme) were not correctly enforcing the frame-ancestors directive when it was used in the Web Extension's Content Security Policy. This vulnerability affects Firefox versions prior to 97, Thunderbird versions prior to 91.6, and Firefox ESR versions prior to 91.6. The issue was discovered by Mart Gil Robles from FlowCrypt and was assigned CVE-2022-22761 (Mozilla Advisory).

Technical details

The vulnerability stems from a limitation in Firefox's implementation where frame-ancestor checks were intentionally limited to HTTP channels, excluding extension pages. This meant that web-accessible extension pages could not properly enforce frame-ancestor restrictions specified in their Content Security Policy (CSP), potentially exposing them to unauthorized framing. The vulnerability has been assigned a CVSS v3.1 base score of 8.8 (HIGH) with vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H (NVD).

Impact

The vulnerability could allow malicious websites to frame extension pages in ways that should have been prevented by the extension's CSP frame-ancestors directive. This could potentially expose extension content to clickjacking attacks, where users might unknowingly interact with the framed extension content (Mozilla Bug).

Mitigation and workarounds

The vulnerability was fixed in Firefox 97, Firefox ESR 91.6, and Thunderbird 91.6. Users should update to these versions or later to receive the fix. The patch implements proper frame-ancestors CSP directive support for web-accessible extension resources (Mozilla Advisory).

Additional resources


SourceThis report was generated using AI

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