CVE-2025-6427: connect-src Content Security Policy restriction could be bypassed

Published Jun 24, 2025
·
Updated

An attacker was able to bypass the connect-src directive of a Content Security Policy by manipulating subdocuments. This would have also hidden the connections from the Network tab in Devtools. This vulnerability was fixed in Firefox 140 and Thunderbird 140.

Other sources

An attacker was able to bypass the connect-src directive of a Content Security Policy by manipulating subdocuments. This would have also hidden the connections from the Network tab in Devtools.

— Mozilla

Affected Software

14 affected componentsFixes available
Mozilla Firefox<140.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<140
140
debian/firefox
159.0-1
Mozilla Thunderbird<140
140

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

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

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

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

    Fixed in 140
  3. Upgrade

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

    Fixed in 159.0-1
  4. Upgrade

    Upgrade Firefox to a version that resolves this vulnerability.

    Fixed in 140
  5. Upgrade

    Upgrade Thunderbird to a version that resolves this vulnerability.

    Fixed in 140

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 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:37 PM
Affected Software
Jul 14, 2025
Updated
via MITRE·06:26 PM
Description
Updated
via NVD·07:15 PM
Description
Jul 15, 2025
Event
via FIRST·12:00 AM
Apr 13, 2026
Updated
via MITRE·02:31 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-6427?

CVE-2025-6427 is considered a high-severity vulnerability as it allows attackers to bypass security policies.

2

How do I fix CVE-2025-6427?

To fix CVE-2025-6427, update Mozilla Firefox to version 140 or later.

3

Which versions of Firefox are affected by CVE-2025-6427?

CVE-2025-6427 affects all versions of Mozilla Firefox prior to version 140.

4

What kind of attack does CVE-2025-6427 allow?

CVE-2025-6427 enables attackers to manipulate subdocuments to bypass the connect-src directive of the Content Security Policy.

5

Is there a way to detect CVE-2025-6427 being exploited?

CVE-2025-6427 exploits can be difficult to detect, as they may hide connections from the Network tab in Devtools.

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