CVE-2025-3909
JavaScript Execution via Spoofed PDF Attachment and file:/// Link
Reported by mozilla · Published May 14, 2025
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| thunderbird | Amazon Linux | 128.10.1-1.amzn2.0.1 |
| thunderbird | mozilla | 138.0.1, 128.10.1 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Mozilla | Thunderbird | 128.10.1, 138.0.1 |
| Mozilla | Thunderbird | 128.10.1, 138.0.1 |
| amazon:2 | thunderbird | 0 |
Timeline
- May 14, 2025 CVE Published
- May 15, 2025 EPSS Score (30 in total, the first dated here)
- Apr 13, 2026 CVE Updated
- Jun 2, 2026 Security Advisory (12 in total, the first dated here)
- Jun 9, 2026 Coalition ESS Score
- Nov 2, 2026 Distribution Patch (8 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2025-3909
vulnetix vdb fixes CVE-2025-3909
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-3909/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart