CVE-2024-9394 Cross-site scripting in Firefox

Medium 6.1 Published Updated

Attackers can execute arbitrary JavaScript via crafted multipart responses, enabling cross-origin data access on Android and limited access on desktop.

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-2024-9394?

CVE-2024-9394 is a medium-severity cross-site scripting vulnerability in Mozilla Firefox, published on 1 Oct 2024. 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

An attacker could, via a specially crafted multipart response, execute arbitrary JavaScript under the `resource://devtools` origin. This could allow them to access cross-origin JSON content. This access is limited to "same site" documents by the Site Isolation feature on desktop clients, but full cross-origin access is possible on Android versions. This vulnerability affects Firefox < 131, Firefox ESR < 128.3, Firefox ESR < 115.16, Thunderbird < 128.3, and Thunderbird < 131.

Weakness: CWE-79

Which versions are affected by CVE-2024-9394?

It affects 3 products.

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

How do I fix CVE-2024-9394?

Upgrade to a fixed version.

Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.

Is CVE-2024-9394 being exploited?

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

All Mozilla Firefox vulnerabilities

Sources

Also known as DEBIAN-CVE-2024-9394, GHSA-qph8-rvxf-5936, UBUNTU-CVE-2024-9394.

Is CVE-2024-9394 in your software?

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

Check your SBOMs for free