CVE-2025-6430: Content-Disposition header ignored when a file is included in an embed or object tag
When a file download is specified via the Content-Disposition header, that directive would be ignored if the file was included via a <embed> or <object> tag, potentially making a website vulnerable to a cross-site scripting attack. This vulnerability was fixed in Firefox 140, Firefox ESR 128.12, Thunderbird 140, and Thunderbird 128.12.
Other sources
When a file download is specified via the Content-Disposition header, that directive would be ignored if the file was included via a <embed> or <object> tag, potentially making a website vulnerable to a cross-site scripting attack. This vulnerability affects Firefox < 140, Firefox ESR < 128.12, Thunderbird < 140, and Thunderbird < 128.12.
— OSV
When a file download is specified via the Content-Disposition header, that directive would be ignored if the file was included via a <embed> or <object> tag, potentially making a website vulnerable to a cross-site scripting attack. This vulnerability affects Firefox < 140 and Firefox ESR < 128.12.
— Red Hat
When a file download is specified via the Content-Disposition header, that directive would be ignored if the file was included via a <embed> or <object> tag, potentially making a website vulnerable to a cross-site scripting attack.
— Mozilla
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 128.12 - Upgrade
Upgrade
ubuntu/thunderbirdto a version that resolves this vulnerability.Fixed in 1:128.12.0+build1-0ubuntu0.22.04.1 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 140 - Upgrade
Upgrade
debian/firefoxto a version that resolves this vulnerability.Fixed in 140.0-1 - Upgrade
Upgrade
debian/firefox-esrto a version that resolves this vulnerability.Fixed in 128.12.0esr-1~deb11u1Fixed in 128.12.0esr-1~deb12u1Fixed in 128.12.0esr-1 - Upgrade
Upgrade
debian/thunderbirdto a version that resolves this vulnerability.Fixed in 1:128.12.0esr-1~deb11u1Fixed in 1:128.12.0esr-1~deb12u1Fixed in 1:128.12.0esr-1 - Upgrade
Upgrade
Firefoxto a version that resolves this vulnerability.Fixed in 140 - Upgrade
Upgrade
Firefox ESRto a version that resolves this vulnerability.Fixed in 128.12 - Upgrade
Upgrade
Thunderbirdto a version that resolves this vulnerability.Fixed in 140 - Upgrade
Upgrade
Thunderbird ESRto a version that resolves this vulnerability.Fixed in 128.12
Event History
Parent advisories
This vulnerability appears in the following advisories.
Peer vulnerabilities
Found alongside the following vulnerabilities.
Frequently Asked Questions
What is the severity of CVE-2025-6430?
CVE-2025-6430 is considered a moderate severity vulnerability that can lead to cross-site scripting attacks.
How do I fix CVE-2025-6430?
To mitigate CVE-2025-6430, you should upgrade to Mozilla Firefox version 140 or Firefox ESR version 128.12 or later.
Which versions of Firefox are affected by CVE-2025-6430?
CVE-2025-6430 affects Firefox versions prior to 140 and Firefox ESR versions prior to 128.12.
Is CVE-2025-6430 a risk for my website?
If your website uses file downloads specified via the Content-Disposition header with embedded content, CVE-2025-6430 could pose a risk of cross-site scripting.
What type of attack does CVE-2025-6430 facilitate?
CVE-2025-6430 could facilitate cross-site scripting (XSS) attacks due to improper handling of Content-Disposition headers.