CVEfocus › CVE database › CVE-2025-6427

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

CVSS 9.1 CriticalEPSS 0.7% (higher than 49% of CVEs)Published 2025-06-24Updated 2026-04-13Assigner: mozilla

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.

CWE-693

What to do

Fixed builds are available from Ubuntu: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

1Fixed
4Fix pending
5Will not fix
13Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.04firefoxNot affected
vulnerable_code_not_present
Ubuntu 26.04thunderbirdNot affected
vulnerable_code_not_present
Ubuntu 25.10firefoxNot affected
vulnerable_code_not_present
Ubuntu 25.10thunderbirdNot affected
vulnerable_code_not_present
Ubuntu 24.04firefoxNot affected
vulnerable_code_not_present
Ubuntu 24.04mozjs102Will not fix
mozjs* contain a copy of the SpiderMonkey JavaScript engine. It is not feasible to backport security fixes to the mozjs* packages, as such, marking them as…
UBUNTU-CVE-2025-6427
Ubuntu 24.04mozjs115Will not fix
mozjs* contain a copy of the SpiderMonkey JavaScript engine. It is not feasible to backport security fixes to the mozjs* packages, as such, marking them as…
UBUNTU-CVE-2025-6427
Ubuntu 24.04thunderbirdNot affected
vulnerable_code_not_present
Ubuntu 22.04firefoxNot affected
vulnerable_code_not_present
Ubuntu 22.04mozjs102Will not fix
mozjs* contain a copy of the SpiderMonkey JavaScript engine. It is not feasible to backport security fixes to the mozjs* packages, as such, marking them as…
UBUNTU-CVE-2025-6427
Ubuntu 22.04mozjs78Will not fix
mozjs* contain a copy of the SpiderMonkey JavaScript engine. It is not feasible to backport security fixes to the mozjs* packages, as such, marking them as…
UBUNTU-CVE-2025-6427
Ubuntu 22.04mozjs91Will not fix
mozjs* contain a copy of the SpiderMonkey JavaScript engine. It is not feasible to backport security fixes to the mozjs* packages, as such, marking them as…
UBUNTU-CVE-2025-6427
Ubuntu 22.04thunderbirdFixed1:140.7.1+build1-0ubuntu0.22.04.1UBUNTU-CVE-2025-6427
Ubuntu 20.04mozjs52Fix pendingUBUNTU-CVE-2025-6427
Ubuntu 20.04mozjs68Fix pendingUBUNTU-CVE-2025-6427
Ubuntu 18.04mozjs38Fix pendingUBUNTU-CVE-2025-6427
Ubuntu 18.04mozjs52Fix pendingUBUNTU-CVE-2025-6427
Red Hat Enterprise Linux 10firefoxNot affected
Red Hat Enterprise Linux 9firefoxNot affected
Red Hat Enterprise Linux 9firefox-x11Not affected
Red Hat Enterprise Linux 8firefoxNot affected
Red Hat Enterprise Linux 7firefoxNot affected
Red Hat Enterprise Linux 6firefoxNot affected

What the vendor says

As published in the CVE record by mozilla, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.