CVE-2025-3909: JavaScript Execution via Spoofed PDF Attachment and file:/// Link

Published May 13, 2025
·
Updated

Thunderbird's handling of the X-Mozilla-External-Attachment-URL header can be exploited to execute JavaScript in the file:/// context. By crafting a nested email attachment (message/rfc822) and setting its content type to application/pdf, Thunderbird may incorrectly render it as HTML when opened, allowing the embedded JavaScript to run without requiring a file download. This behavior relies on Thunderbird auto-saving the attachment to /tmp and linking to it via the file:/// protocol, potentially enabling JavaScript execution as part of the HTML.

Affected Software

5 affected componentsFixes available
Mozilla Thunderbird<128.10.1, <138.0.1
Mozilla Thunderbird<128.10.1
Mozilla Thunderbird>=129.0<138.0.1
Mozilla Thunderbird<138.0.1
138.0.1
Mozilla Thunderbird<128.10.1
128.10.1

Event History

May 13, 2025
CVE Published
via Mozilla·12:00 AM
May 14, 2025
CVE Published
via MITRE·04:56 PM
Data Sourced
via MITRE·04:56 PM
Description
Data Sourced
via NVD·05:15 PM
DescriptionSeverityWeaknessAffected Software
Data Sourced
via Red Hat·06:01 PM
DescriptionSeverityAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Peer vulnerabilities

Found alongside the following vulnerabilities.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2025-3909?

CVE-2025-3909 is classified as a high severity vulnerability due to the potential for executing JavaScript in insecure contexts.

2

How do I fix CVE-2025-3909?

To fix CVE-2025-3909, update your Thunderbird application to versions 128.10.1 or 138.0.1 or later.

3

What versions of Thunderbird are affected by CVE-2025-3909?

CVE-2025-3909 affects Mozilla Thunderbird versions prior to 128.10.1 and 138.0.1.

4

What type of attack is possible with CVE-2025-3909?

CVE-2025-3909 allows for the execution of JavaScript code through crafted email attachments.

5

Is there a workaround for CVE-2025-3909?

Currently, the recommended approach for CVE-2025-3909 is to ensure you are using the latest version of Thunderbird, since no specific workaround is noted.

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