CVE-2023-23603
Mozilla: Calls to <code>console.log</code> allowed bypasing Content Security Policy via format directive
Severity Score
Exploit Likelihood
Affected Versions
Public Exploits
0Exploited in Wild
-Decision
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.
CVSS Scores
SSVC
- Decision:Track
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
References (5)
URL | Tag | Source |
---|
URL | Date | SRC |
---|
URL | Date | SRC |
---|
URL | Date | SRC |
---|---|---|
https://www.mozilla.org/security/advisories/mfsa2023-01 | 2023-06-08 | |
https://www.mozilla.org/security/advisories/mfsa2023-02 | 2023-06-08 | |
https://www.mozilla.org/security/advisories/mfsa2023-03 | 2023-06-08 | |
https://access.redhat.com/security/cve/CVE-2023-23603 | 2023-01-26 | |
https://bugzilla.redhat.com/show_bug.cgi?id=2162343 | 2023-01-26 |
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
|