Calls to console.log allowed bypassing Content Security Policy via format directive
Mozilla Firefox · Mozilla Firefox ESR · Mozilla Thunderbird
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Mozilla Firefox |
| No fix yet |
| Mozilla Firefox ESR |
| No fix yet |
| Mozilla Thunderbird |
| No fix yet |
Original 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.