CVE-2023-23603: Calls to console.log allowed bypassing Content Security Policy via format directive
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.
Other sources
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.
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.
— Mozilla
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
debian/firefoxto a version that resolves this vulnerability.Fixed in 118.0.2-1 - Upgrade
Upgrade
debian/firefox-esrto a version that resolves this vulnerability.Fixed in 115.3.1esr-1~deb10u1Fixed in 102.15.0esr-1~deb11u1Fixed in 115.3.1esr-1~deb11u1Fixed in 102.15.1esr-1~deb12u1Fixed in 115.3.0esr-1~deb12u1Fixed in 115.3.0esr-1 - Upgrade
Upgrade
debian/thunderbirdto a version that resolves this vulnerability.Fixed in 1:115.3.1-1~deb10u1Fixed in 1:102.13.1-1~deb11u1Fixed in 1:115.3.1-1~deb11u1Fixed in 1:102.15.1-1~deb12u1Fixed in 1:115.3.1-1~deb12u1Fixed in 1:115.3.1-1 - Upgrade
Upgrade
Thunderbirdto a version that resolves this vulnerability.Fixed in 102.7 - Upgrade
Upgrade
Firefox ESRto a version that resolves this vulnerability.Fixed in 102.7 - Upgrade
Upgrade
Firefoxto a version that resolves this vulnerability.Fixed in 109
Event History
Parent advisories
This vulnerability appears in the following advisories.
Peer vulnerabilities
Found alongside the following vulnerabilities.
Frequently Asked Questions
What is the vulnerability ID?
The vulnerability ID is CVE-2023-23603.
What is the severity of CVE-2023-23603?
The severity of CVE-2023-23603 is medium.
Which software versions are affected by CVE-2023-23603?
Firefox versions < 109, Thunderbird versions < 102.7, and Firefox ESR versions < 102.7 are affected.
How does CVE-2023-23603 affect the browser?
CVE-2023-23603 allows potential exfiltration of data from the browser.
Where can I find more information about CVE-2023-23603?
You can find more information about CVE-2023-23603 in the Mozilla Security Advisories: [mfsa2023-01](https://www.mozilla.org/security/advisories/mfsa2023-01/), [mfsa2023-03](https://www.mozilla.org/security/advisories/mfsa2023-03/), [mfsa2023-02](https://www.mozilla.org/security/advisories/mfsa2023-02/).