CVE-2025-6430: Content-Disposition header ignored when a file is included in an embed or object tag

Published Jun 24, 2025
·
Updated

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 &lt;embed&gt; or &lt;object&gt; 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

19 affected componentsFixes available
Mozilla Thunderbird<128.12
128.12
Mozilla Firefox<128.12.0
Mozilla Firefox<140.0
ubuntu/mozjs52*
ubuntu/mozjs38*
ubuntu/mozjs68*
ubuntu/mozjs52*
ubuntu/mozjs102*
ubuntu/mozjs78*
ubuntu/mozjs91*
ubuntu/thunderbird<1:128.12.0+build1-0ubuntu0.22.04.1
1:128.12.0+build1-0ubuntu0.22.04.1
ubuntu/mozjs102*
ubuntu/mozjs115*
Mozilla Firefox<140
140
Mozilla Firefox ESR<128.12
128.12
Mozilla Thunderbird<140
140
debian/firefox
140.0-1
debian/firefox-esr
128.12.0esr-1~deb11u1128.12.0esr-1~deb12u1128.12.0esr-1
debian/thunderbird
1:128.12.0esr-1~deb11u11:128.12.0esr-1~deb12u11:128.12.0esr-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 128.12
  2. Upgrade

    Upgrade ubuntu/thunderbird to a version that resolves this vulnerability.

    Fixed in 1:128.12.0+build1-0ubuntu0.22.04.1
  3. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 140
  4. Upgrade

    Upgrade debian/firefox to a version that resolves this vulnerability.

    Fixed in 140.0-1
  5. Upgrade

    Upgrade debian/firefox-esr to a version that resolves this vulnerability.

    Fixed in 128.12.0esr-1~deb11u1Fixed in 128.12.0esr-1~deb12u1Fixed in 128.12.0esr-1
  6. Upgrade

    Upgrade debian/thunderbird to 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
  7. Upgrade

    Upgrade Firefox to a version that resolves this vulnerability.

    Fixed in 140
  8. Upgrade

    Upgrade Firefox ESR to a version that resolves this vulnerability.

    Fixed in 128.12
  9. Upgrade

    Upgrade Thunderbird to a version that resolves this vulnerability.

    Fixed in 140
  10. Upgrade

    Upgrade Thunderbird ESR to a version that resolves this vulnerability.

    Fixed in 128.12

Event History

Jun 24, 2025
CVE Published
via Mozilla·12:00 AM
Data Sourced
via Mozilla·12:00 AM
DescriptionSeverityAffected Software
Data Sourced
via Ubuntu·12:00 AM
RemedyDescriptionSeverityAffected Software
CVE Published
via MITRE·12:28 PM
Data Sourced
via MITRE·12:28 PM
DescriptionWeakness
Data Sourced
via Red Hat·01:01 PM
DescriptionSeverityAffected Software
Data Sourced
via OSV·01:15 PM
DescriptionSeverityAffected Software
Data Sourced
via NVD·01:15 PM
Description
Jun 25, 2025
Data Sourced
via NVD·03:15 PM
SeverityWeakness
Event
via NVD·03:15 PM
Jul 3, 2025
Data Sourced
via NVD·04:43 PM
Affected Software
Jul 14, 2025
Updated
via MITRE·06:26 PM
Description
Updated
via NVD·07:15 PM
Description
Jul 16, 2025
Event
via FIRST·12:00 AM
Apr 13, 2026
Updated
via MITRE·02:30 PM
Description
Updated
via NVD·03:17 PM
Description

Parent advisories

This vulnerability appears in the following advisories.

Frequently Asked Questions

1

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.

2

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.

3

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.

4

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.

5

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.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203