CVE-2022-46873
NixOS vulnerability analysis and mitigation

Overview

CVE-2022-46873 is a security vulnerability discovered in Mozilla Firefox versions prior to 108.0, disclosed on December 13, 2022. The vulnerability stems from Firefox's incomplete implementation of the Content Security Policy (CSP) 'unsafe-hashes' directive. This security flaw could potentially allow attackers to inject executable scripts into pages that are otherwise protected by Content Security Policy (Mozilla Advisory, NVD).

Technical details

The vulnerability occurs because Firefox did not properly implement the 'unsafe-hashes' CSP directive, which is designed to control the execution of inline script event handlers. The issue has a CVSS v3.1 base score of 8.8 (HIGH), with a vector string of CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H. The vulnerability is classified under CWE-74 (Improper Neutralization of Special Elements in Output Used by a Downstream Component) (NVD).

Impact

When exploited, this vulnerability could allow an attacker who successfully injects markup into a page to execute arbitrary script code, even if the page is protected by Content Security Policy. However, the impact would be constrained by the specified Content Security Policy of the document (Mozilla Advisory).

Mitigation and workarounds

The vulnerability was fixed in Firefox version 108.0. Users and administrators are advised to upgrade to Firefox version 108.0 or later to address this security issue. The fix implements proper handling of the 'unsafe-hashes' CSP directive (Mozilla Advisory, Gentoo 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-14330CRITICAL9.8
  • NixOSNixOS
  • cpe:2.3:a:mozilla:firefox:*:*:*:*:esr:*:*:*
NoYesDec 09, 2025
CVE-2025-14333HIGH8.1
  • NixOSNixOS
  • rhel10::firefox-flatpak
NoYesDec 09, 2025
CVE-2025-14332HIGH7.3
  • NixOSNixOS
  • cpe:2.3:a:mozilla:firefox
NoYesDec 09, 2025
CVE-2025-14331MEDIUM6.5
  • NixOSNixOS
  • cpe:2.3:a:mozilla:firefox
NoYesDec 09, 2025
CVE-2025-67730MEDIUM5.1
  • NixOSNixOS
  • learning
NoYesDec 12, 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