Mozilla Thunderbird
JavaScript Execution via Spoofed PDF Attachment and file:/// Link
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.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
Fixed in 128.10.1, 138.0.1
Mitigation
Upgrade Thunderbird to 128.10.1 or 138.0.1 or later.
References
- Vendor advisory mozilla.org/security/advisories/mfsa2025-34
- Vendor advisory mozilla.org/security/advisories/mfsa2025-35
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.