CVE-2023-23603
6.5medium
Calls to console.log allowed bypassing Content Security Policy via format directive
- Severity
- 6.5medium CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 0.64% (higher than 52% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- mozilla
Description
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. This vulnerability affects Firefox < 109, Firefox ESR < 102.7, and Thunderbird < 102.7.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Mozilla Firefox | from unspecified before 109, before 109.0 | CVE List, NVD |
| Mozilla Firefox ESR | from unspecified before 102.7 | CVE List |
| Mozilla Thunderbird | from unspecified before 102.7, before 102.7 | CVE List, NVD |
| mozilla firefox_esr | before 102.7 | NVD |
All scores
| CISA-ADP | 6.5medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N |
| NVD | 6.5medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
References
| https://bugzilla.mozilla.org/show_bug.cgi?id=1800832 | issue-tracking, permissions-required, vendor-advisory | |
| https://www.mozilla.org/security/advisories/mfsa2023-01/ | vendor-advisory | |
| https://www.mozilla.org/security/advisories/mfsa2023-02/ | vendor-advisory | |
| https://www.mozilla.org/security/advisories/mfsa2023-03/ | vendor-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2023-23603 changed 2025-12-18 | CVE Terms of Use |
| NVD | CVE-2023-23603 changed 2026-06-17 | Public domain |