CVE-2023-23603 Calls to console.log allowed bypassing Content Security Policy via format directive

Medium 6.5 Published Updated

Attackers can bypass Content Security Policy via console.log format directives to exfiltrate data from the browser.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2023-23603?

CVE-2023-23603 is a medium-severity vulnerability in Mozilla Firefox, published on 2 Jun 2023. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official 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.

Weakness: CWE-770

Which versions are affected by CVE-2023-23603?

It affects 3 products.

Products include Mozilla Firefox, Mozilla Firefox Esr, Mozilla Thunderbird.

How do I fix CVE-2023-23603?

Upgrade to a fixed version.

Is CVE-2023-23603 being exploited?

There is no known exploitation of CVE-2023-23603 in the wild and no public exploit code.

All Mozilla Firefox vulnerabilities

Sources

Also known as DEBIAN-CVE-2023-23603, GHSA-3r46-584r-xx8v, UBUNTU-CVE-2023-23603.

Is CVE-2023-23603 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free