CVE-2025-3909
NixOS vulnerability analysis and mitigation

Overview

A critical security vulnerability (CVE-2025-3909) was discovered in Mozilla Thunderbird versions prior to 128.10.1 and 138.0.1. The vulnerability was disclosed on May 14, 2025, and involves Thunderbird's handling of the X-Mozilla-External-Attachment-URL header, which can be exploited to execute JavaScript in the file:/// context (Wiz Report, Mozilla Advisory).

Technical details

The vulnerability stems from Thunderbird's improper handling of nested email attachments. An attacker can craft a message/rfc822 attachment and set its content type to application/pdf, which Thunderbird incorrectly renders as HTML when opened. The application auto-saves the attachment to the /tmp directory and creates a link via the file:/// protocol, enabling JavaScript execution within the HTML context without requiring a file download. The vulnerability has been assigned a CVSS v3.1 base score of 6.5 (MEDIUM) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N and is classified under CWE-290 (Authentication Bypass by Spoofing) (Wiz Report, NVD).

Impact

When successfully exploited, this vulnerability allows attackers to execute arbitrary JavaScript code in the file:/// context within Thunderbird. This could potentially lead to unauthorized access to local files, data theft, and other malicious activities that JavaScript can perform within the local file system context (Mozilla Advisory).

Mitigation and workarounds

Mozilla has released security patches in Thunderbird versions 128.10.1 and 138.0.1 to address this vulnerability. Users are strongly advised to update to these latest versions. The fix prevents the improper rendering of PDF attachments as HTML and blocks JavaScript execution via the file:/// protocol in this context (Mozilla Advisory, Mozilla Advisory).

Additional resources


SourceThis report was generated using AI

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management