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

- Severity: High 8.1 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.48%, higher than 42% of CVEs (2026-12-02)
- Published: 2025-05-14T16:56:43.630Z
- Modified: 2026-06-17T09:20:54.643Z
- Weaknesses: CWE-356
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: mozilla

## Description

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.

(As written by CVE List.)

## Affected

- Mozilla Thunderbird: before 128.10.1; from 129.0 before 138.0.1 (not affected: from 128.10.1 up to 128.*; from 138.0.1 up to *)

## References

- <https://bugzilla.mozilla.org/show_bug.cgi?id=1958376> (permissions-required)
- <https://www.mozilla.org/security/advisories/mfsa2025-34/> (vendor-advisory)
- <https://www.mozilla.org/security/advisories/mfsa2025-35/> (vendor-advisory)
- <https://lists.debian.org/debian-lts-announce/2025/05/msg00022.html>

## Sources

- CVE List: [CVE-2025-3909](https://www.cve.org/CVERecord?id=CVE-2025-3909), CVE Terms of Use, modified 2026-04-13
- NVD: [CVE-2025-3909](https://nvd.nist.gov/vuln/detail/CVE-2025-3909), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-3909 · Whole record: https://cve.day/CVE-2025-3909.json · Rebuilt by cve.day 2026-11-25T22:58:58.053Z
