Vulnerability in Mozilla Thunderbird
CVE-2025-3909
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 was fixed in Thunderbird 128.10.1 and Thunderbird 138.0.1.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.1 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N.
EPSS exploit prediction
EPSS 0.005, 41.9th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Mozilla Thunderbird — versions 128.10.1, 138.0.1
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 1 other repository (w4zu/Debian_security). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- bugzilla.mozilla.org/show_bug.cgi (Permissions Required)
- www.mozilla.org/security/advisories/mfsa2025-34/ (Vendor Advisory)
- www.mozilla.org/security/advisories/mfsa2025-35/ (Vendor Advisory)
- lists.debian.org/debian-lts-announce/2025/05/msg00022.html