Vulnerability · Published Aug 6, 2024 · Assigned by mozilla
CVE-2024-7524
Medium 6.1
In plain English
A medium-severity cross-site scripting in Firefox from Mozilla. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 42% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
Firefox adds web-compatibility shims in place of some tracking scripts blocked by Enhanced Tracking Protection. On a site protected by Content Security Policy in "strict-dynamic" mode, an attacker able to inject an HTML element could have used a DOM Clobbering attack on some of the shims and achieved XSS, bypassing the CSP strict-dynamic protection. This vulnerability affects Firefox < 129, Firefox ESR < 115.14, and Firefox ESR < 128.1.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux:8 | firefox | 115.14.0-2.el8_10.alma.1 | ALSA-2024:5391 |
| AlmaLinux:9 | firefox | 115.14.0-2.el9_4.alma.1 | ALSA-2024:5322 |
| AlmaLinux:9 | firefox-x11 | 115.14.0-2.el9_4.alma.1 | ALSA-2024:5322 |
| Debian:12 | firefox-esr | 115.14.0esr-1~deb12u1 | DSA-5740-1 |
| Debian:12 | firefox-esr | 115.14.0esr-1~deb12u1 | DEBIAN-CVE-2024-7524 |
| Debian:13 | firefox-esr | 115.14.0esr-1 | DEBIAN-CVE-2024-7524 |
| Debian:14 | firefox-esr | 115.14.0esr-1 | DEBIAN-CVE-2024-7524 |
| Rocky Linux:8 | firefox | 0:115.14.0-2.el8_10 | RLSA-2024:5391 |
| Ubuntu:22.04:LTS | mozjs102 | no fix listed | UBUNTU-CVE-2024-7524 |
| Ubuntu:24.04:LTS | mozjs102 | no fix listed | UBUNTU-CVE-2024-7524 |
| Ubuntu:24.04:LTS | mozjs115 | no fix listed | UBUNTU-CVE-2024-7524 |
| Ubuntu:22.04:LTS | mozjs78 | no fix listed | UBUNTU-CVE-2024-7524 |
| Ubuntu:22.04:LTS | mozjs91 | no fix listed | UBUNTU-CVE-2024-7524 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Mozilla | Firefox | unspecified – before 129 |
| Mozilla | Firefox ESR | unspecified – before 115.14 |
| Mozilla | Firefox ESR | unspecified – before 128.1 |
Weakness: CWE-79 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N