Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2024-9393: Cross-origin access to PDF contents through multipart responses in Mozilla Firefox

0
High
VulnerabilityCVE-2024-9393cvecve-2024-9393
Published: Tue Oct 01 2024 (10/01/2024, 15:13:19 UTC)
Source: CVE Database V5
Vendor/Project: Mozilla
Product: Firefox

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.

AI-Powered Analysis

AILast updated: 11/03/2025, 23:08:56 UTC

Technical Analysis

CVE-2024-9393 is a vulnerability in Mozilla Firefox and Thunderbird involving the PDF.js component, which is responsible for rendering PDF documents within the browser. The flaw arises from improper handling of multipart HTTP responses that can be crafted by an attacker to execute arbitrary JavaScript code under the resource://pdf.js origin. This origin is normally trusted to render PDF content securely. By exploiting this, an attacker can bypass same-origin policy restrictions and gain unauthorized access to PDF contents from different origins. On desktop platforms, Firefox's Site Isolation feature limits this cross-origin access to documents within the same site, reducing the scope of the attack. However, on Android versions of Firefox, this isolation is not enforced, allowing full cross-origin access to PDF content. The vulnerability affects Firefox versions below 131, ESR versions below 128.3 and 115.16, and Thunderbird versions below 128.3 and 131. The CVSS v3.1 base score is 7.5 (high), reflecting network attack vector, no required privileges or user interaction, and high confidentiality impact. The vulnerability is classified under CWE-346 (Origin Validation Error), indicating a failure to properly validate the origin of content. No patches or exploits are currently publicly available, but the risk is significant due to the ability to access sensitive PDF data across origins, potentially exposing confidential information.

Potential Impact

For European organizations, this vulnerability poses a substantial risk to the confidentiality of sensitive PDF documents accessed via Firefox or Thunderbird, especially on Android devices where cross-origin restrictions are not enforced. Organizations handling confidential contracts, personal data, or intellectual property in PDF format could have this information exposed to malicious actors through crafted web responses. The lack of required privileges or user interaction means attackers can exploit this remotely and silently, increasing the risk of data leakage. Sectors such as finance, legal, healthcare, and government, which frequently use PDF documents for sensitive communications, are particularly vulnerable. Additionally, the widespread use of Firefox in Europe, including on mobile devices, increases the potential attack surface. The vulnerability could facilitate espionage, data theft, or unauthorized data harvesting, impacting compliance with GDPR and other data protection regulations.

Mitigation Recommendations

European organizations should immediately inventory Firefox and Thunderbird deployments to identify affected versions, particularly on Android devices. Until patches are released, organizations should consider the following mitigations: 1) Enforce policies to restrict or monitor the use of Firefox and Thunderbird on Android devices, especially for handling sensitive PDF documents. 2) Use network-level controls such as web proxies or content filters to block or inspect suspicious multipart HTTP responses that could exploit this vulnerability. 3) Educate users about the risk of opening PDF documents from untrusted or unknown sources within Firefox or Thunderbird. 4) Where possible, disable or restrict the use of PDF.js rendering in browsers or use alternative PDF viewers that do not rely on vulnerable components. 5) Monitor Mozilla security advisories closely and apply official patches immediately upon release. 6) Employ endpoint detection and response (EDR) solutions to detect anomalous JavaScript execution patterns related to resource://pdf.js origin. These targeted mitigations go beyond generic advice by focusing on the specific attack vector and affected platforms.

Need more detailed analysis?Get Pro

Technical Details

Data Version
5.2
Assigner Short Name
mozilla
Date Reserved
2024-10-01T06:10:06.764Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 6909325935043901e83099be

Added to database: 11/3/2025, 10:53:13 PM

Last enriched: 11/3/2025, 11:08:56 PM

Last updated: 11/4/2025, 9:29:06 PM

Views: 9

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need enhanced features?

Contact root@offseq.com for Pro access with improved analysis and higher rate limits.

Latest Threats