Bug 2366283 (CVE-2025-3909) - CVE-2025-3909 thunderbird: JavaScript Execution via Spoofed PDF Attachment and file:/// Link
Summary: CVE-2025-3909 thunderbird: JavaScript Execution via Spoofed PDF Attachment an...
Keywords:
Status: NEW
Alias: CVE-2025-3909
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-05-14 18:01 UTC by OSIDB Bzimport
Modified: 2025-05-20 09:16 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-05-14 18:01:33 UTC
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. This vulnerability affects Thunderbird < 128.10.1 and Thunderbird < 138.0.1.


Note You need to log in before you can comment on or make changes to this bug.