CVE-2025-8038: CSP frame-src was not correctly enforced for paths

Published Jul 22, 2025
·
Updated

Firefox ignored paths when checking the validity of navigations in a frame.

Other sources

Thunderbird ignored paths when checking the validity of navigations in a frame. This vulnerability was fixed in Firefox 141, Firefox ESR 140.1, Thunderbird 141, and Thunderbird 140.1.

— Ubuntu

Affected Software

19 affected componentsFixes available
Mozilla Firefox ESR<140.1
140.1
Mozilla Thunderbird<140.1
140.1
Mozilla Thunderbird<141
141
Mozilla Firefox<140.1.0
Mozilla Firefox<141.0
Mozilla Thunderbird<140.1.0
Mozilla Thunderbird<141.0
ubuntu/mozjs52*
ubuntu/mozjs38*
ubuntu/mozjs68*
ubuntu/mozjs52*
ubuntu/mozjs102*
ubuntu/mozjs78*
ubuntu/mozjs91*
ubuntu/thunderbird<1:140.7.1+build1-0ubuntu0.22.04.1
1:140.7.1+build1-0ubuntu0.22.04.1
ubuntu/mozjs102*
ubuntu/mozjs115*
Mozilla Firefox<141
141
debian/firefox
159.0-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 140.1
  2. Upgrade

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

    Fixed in 141
  3. Upgrade

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

    Fixed in 1:140.7.1+build1-0ubuntu0.22.04.1
  4. Upgrade

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

    Fixed in 159.0-1
  5. Upgrade

    Upgrade Firefox to a version that resolves this vulnerability.

    Fixed in 141
  6. Upgrade

    Upgrade Firefox ESR to a version that resolves this vulnerability.

    Fixed in 140.1
  7. Upgrade

    Upgrade Thunderbird to a version that resolves this vulnerability.

    Fixed in 141
  8. Upgrade

    Upgrade Thunderbird to a version that resolves this vulnerability.

    Fixed in 140.1

Event History

Jul 22, 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·08:49 PM
Data Sourced
via MITRE·08:49 PM
Description
Data Sourced
via OSV·09:15 PM
DescriptionSeverityAffected Software
Data Sourced
via NVD·09:15 PM
DescriptionSeverityWeaknessAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Frequently Asked Questions

1

What is the severity of CVE-2025-8038?

CVE-2025-8038 has been classified with a moderate severity level.

2

How do I fix CVE-2025-8038?

To fix CVE-2025-8038, update your Firefox to version 141 or Firefox ESR to version 140.2 or later.

3

What does CVE-2025-8038 affect?

CVE-2025-8038 affects versions of Mozilla Firefox and Firefox ESR prior to 141 and 140.2 respectively.

4

What type of vulnerability is CVE-2025-8038?

CVE-2025-8038 is a navigation validation vulnerability in Firefox.

5

Was CVE-2025-8038 reported or fixed recently?

CVE-2025-8038 was reported and fixed in a recent advisory aimed at improving Firefox's security.

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