// For flags

CVE-2023-23603

Mozilla: Calls to <code>console.log</code> allowed bypasing Content Security Policy via format directive

Severity Score

6.5
*CVSS v3.1

Exploit Likelihood

*EPSS

Affected Versions

*CPE

Public Exploits

0
*Multiple Sources

Exploited in Wild

-
*KEV

Decision

Track
*SSVC
Descriptions

Regular expressions used to filter out forbidden properties and values from style directives in calls to <code>console.log</code> weren't accounting for external URLs. Data could then be potentially exfiltrated from the browser. This vulnerability affects Firefox < 109, Thunderbird < 102.7, and Firefox ESR < 102.7.

The Mozilla Foundation Security Advisory describes this flaw as: Regular expressions used to filter out forbidden properties and values from style directives in calls to `console.log` weren't accounting for external URLs. Data could then be potentially exfiltrated from the browser.

An update that fixes 9 vulnerabilities is now available. This update for MozillaThunderbird fixes the following issues. Updated to version 102.7.1. Fixed out of date libusrsctp. Fixed arbitrary file read from GTK drag and drop on Linux. Fixed issue where malicious command that could be hidden in devtools output on Windows. Fixed issue where URL being dragged from cross-origin iframe into same tab triggers navigation. Fixed Content Security Policy not being correctly applied to WebSockets in WebWorkers. Fixed fullscreen notification bypass. Fixed issue where calls to code tag allowed bypassing Content Security Policy via format directive. Fixed memory safety bugs.

*Credits: N/A
CVSS Scores
Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None
Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
None
Integrity
High
Availability
None
Attack Vector
Network
Attack Complexity
Low
Authentication
None
Confidentiality
Complete
Integrity
None
Availability
None
* Common Vulnerability Scoring System
SSVC
  • Decision:Track
Exploitation
None
Automatable
No
Tech. Impact
Partial
* Organization's Worst-case Scenario
Timeline
  • 2023-01-16 CVE Reserved
  • 2023-01-19 CVE Published
  • 2025-01-10 CVE Updated
  • 2025-03-30 EPSS Updated
  • ---------- Exploited in Wild
  • ---------- KEV Due Date
  • ---------- First Exploit
CWE
  • CWE-185: Incorrect Regular Expression
  • CWE-770: Allocation of Resources Without Limits or Throttling
CAPEC
Affected Vendors, Products, and Versions
Vendor Product Version Other Status
Vendor Product Version Other Status <-- --> Vendor Product Version Other Status
Mozilla
Search vendor "Mozilla"
Firefox
Search vendor "Mozilla" for product "Firefox"
< 109.0
Search vendor "Mozilla" for product "Firefox" and version " < 109.0"
-
Affected
Mozilla
Search vendor "Mozilla"
Firefox Esr
Search vendor "Mozilla" for product "Firefox Esr"
< 102.7
Search vendor "Mozilla" for product "Firefox Esr" and version " < 102.7"
-
Affected
Mozilla
Search vendor "Mozilla"
Thunderbird
Search vendor "Mozilla" for product "Thunderbird"
< 102.7
Search vendor "Mozilla" for product "Thunderbird" and version " < 102.7"
-
Affected