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

- Priority: **Routine**
- Reason: Not severe (CVSS 8.1, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2025-05-14 · Modified: 2026-04-13
- Aliases: UBUNTU-CVE-2025-3909, DEBIAN-CVE-2025-3909
- Record: https://cvemate.com/vulnerability/CVE-2025-3909 · JSON: https://cvemate.com/vulnerability/CVE-2025-3909/json

## Description

```text
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.
```

## Signals

- CVSS: 8.1 high (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N
- EPSS: 0.479%, percentile 42.97%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- debian thunderbird (Debian): \< 1:128.10.1esr-1~deb12u1 \| \< 1:128.10.1esr-1
- ubuntu thunderbird (Ubuntu): \< 1:128.12.0+build1-0ubuntu0.22.04.1
- mozilla thunderbird: \< 128.10.1 \| ≥ 129.0, \< 138.0.1

## References

- <https://bugzilla.mozilla.org/show_bug.cgi?id=1958376>
- <https://www.mozilla.org/security/advisories/mfsa2025-34/>
- <https://www.mozilla.org/security/advisories/mfsa2025-35/>
- <https://lists.debian.org/debian-lts-announce/2025/05/msg00022.html>
- <https://ubuntu.com/security/CVE-2025-3909>
- <https://www.cve.org/CVERecord?id=CVE-2025-3909>
- <https://www.mozilla.org/en-US/security/advisories/mfsa2025-34/#CVE-2025-3909>
- <https://ubuntu.com/security/notices/USN-7663-1>
- <https://security-tracker.debian.org/tracker/CVE-2025-3909>

---

Data as of 2026-12-05T03:28:40.875Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
