CVE-2025-6427: connect-src Content Security Policy restriction could be bypassed
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
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
ubuntu/thunderbirdto a version that resolves this vulnerability.Fixed in 1:140.7.1+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 159.0-1 - Upgrade
Upgrade
Firefoxto a version that resolves this vulnerability.Fixed in 140 - Upgrade
Upgrade
Thunderbirdto a version that resolves this vulnerability.Fixed in 140
Event History
Peer vulnerabilities
Found alongside the following vulnerabilities.
Frequently Asked Questions
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.
How do I fix CVE-2025-6427?
To fix CVE-2025-6427, update Mozilla Firefox to version 140 or later.
Which versions of Firefox are affected by CVE-2025-6427?
CVE-2025-6427 affects all versions of Mozilla Firefox prior to version 140.
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.
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.