CVE-2024-7524: XSS

Published Aug 6, 2024
·
Updated

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.

Affected Software

21 affected componentsFixes available
Mozilla Firefox<129.0
Mozilla Firefox ESR<115.14
Mozilla Firefox ESR>=116.0<128.1
Mozilla Firefox ESR<128.1
128.1
debian/firefox-esr<115.14.0esr-1~deb12u1
115.14.0esr-1~deb12u1
debian/firefox-esr<115.14.0esr-1
115.14.0esr-1
debian/firefox-esr<115.14.0esr-1
115.14.0esr-1
Mozilla Firefox<129
129
Mozilla Firefox ESR<115.14
115.14
debian/firefox
129.0-1
debian/firefox-esr
115.14.0esr-1~deb11u1115.14.0esr-1~deb12u1115.14.0esr-1
ubuntu/mozjs52*
ubuntu/mozjs38*
ubuntu/firefox<129.0.1+build1-0ubuntu0.20.04.1
129.0.1+build1-0ubuntu0.20.04.1
ubuntu/mozjs68*
ubuntu/mozjs52*
ubuntu/mozjs102*
ubuntu/mozjs78*
ubuntu/mozjs91*
ubuntu/mozjs102*
ubuntu/mozjs115*

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Firefox ESR to a version that resolves this vulnerability.

    Fixed in 128.1
  2. Upgrade

    Upgrade debian/firefox-esr to a version that resolves this vulnerability.

    Fixed in 115.14.0esr-1~deb12u1
  3. Upgrade

    Upgrade debian/firefox-esr to a version that resolves this vulnerability.

    Fixed in 115.14.0esr-1
  4. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 129
  5. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 115.14
  6. Upgrade

    Upgrade debian/firefox to a version that resolves this vulnerability.

    Fixed in 129.0-1
  7. Upgrade

    Upgrade debian/firefox-esr to a version that resolves this vulnerability.

    Fixed in 115.14.0esr-1~deb11u1Fixed in 115.14.0esr-1~deb12u1Fixed in 115.14.0esr-1
  8. Upgrade

    Upgrade ubuntu/firefox to a version that resolves this vulnerability.

    Fixed in 129.0.1+build1-0ubuntu0.20.04.1

Event History

Aug 6, 2024
CVE Published
via Mozilla·12:00 AM
Data Sourced
via Mozilla·12:00 AM
DescriptionSeverityAffected Software
Data Sourced
via Ubuntu·12:00 AM
RemedyDescriptionSeverityAffected Software
Updated
via Mozilla·12:00 AM
Affected Software
Updated
via Ubuntu·12:00 AM
DescriptionAffected Software
CVE Published
via MITRE·12:38 PM
Data Sourced
via MITRE·12:38 PM
DescriptionWeakness
Data Sourced
via OSV·01:15 PM
DescriptionSeverityAffected Software
Data Sourced
via NVD·01:15 PM
Description
Aug 29, 2024
Data Sourced
via NVD·05:35 PM
SeverityWeaknessAffected Software
Event
via NVD·05:35 PM
Aug 30, 2024
Event
via FIRST·12:00 AM
Mar 25, 2025
Updated
via NVD·05:16 PM
SeverityWeaknessAffected Software
Jun 17, 2026
Updated
via NVD·08:20 AM
SeverityWeaknessAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Frequently Asked Questions

1

What is the severity of CVE-2024-7524?

CVE-2024-7524 has been rated as high severity due to the potential for DOM Clobbering attacks.

2

How do I fix CVE-2024-7524?

To remediate CVE-2024-7524, update your Mozilla Firefox or Firefox ESR to versions 129 or 128.3.1 respectively.

3

Which versions of Firefox are affected by CVE-2024-7524?

CVE-2024-7524 affects Mozilla Firefox versions prior to 129.0 and Firefox ESR versions prior to 128.1.

4

Can CVE-2024-7524 be exploited in strict-dynamic mode?

Yes, CVE-2024-7524 can be exploited on sites using Content Security Policy in strict-dynamic mode if an attacker can inject an HTML element.

5

What types of attacks are associated with CVE-2024-7524?

CVE-2024-7524 is associated with DOM Clobbering attacks which can lead to unauthorized access or manipulation of web content.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203