CVE-2024-9393 Cross-site scripting in Firefox

High 7.5 Published Updated

Attackers can execute arbitrary JavaScript via crafted multipart responses, enabling cross-origin PDF content access in Firefox and Thunderbird.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2024-9393?

CVE-2024-9393 is a high-severity cross-site scripting vulnerability in Mozilla Firefox, published on 1 Oct 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

An attacker could, via a specially crafted multipart response, execute arbitrary JavaScript under the `resource://pdf.js` origin. This could allow them to access cross-origin PDF 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-346

Which versions are affected by CVE-2024-9393?

It affects 3 products.

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

How do I fix CVE-2024-9393?

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-9393 being exploited?

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

All Mozilla Firefox vulnerabilities

Sources

Also known as DEBIAN-CVE-2024-9393, GHSA-rggh-rm3v-8xqj, UBUNTU-CVE-2024-9393.

Is CVE-2024-9393 in your software?

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

Check your SBOMs for free