CVE-2025-8037 Nameless cookies shadow secure cookies

Critical 9.1 Published Updated

Attackers can bypass Secure cookie protections by setting nameless cookies, potentially exposing sensitive session data in Firefox and Thunderbird.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2025-8037?

CVE-2025-8037 is a critical vulnerability in Mozilla Firefox, published on 22 Jul 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Setting a nameless cookie with an equals sign in the value shadowed other cookies. Even if the nameless cookie was set over HTTP and the shadowed cookie included the `Secure` attribute. This vulnerability was fixed in Firefox 141, Firefox ESR 140.1, Thunderbird 141, and Thunderbird 140.1.

Weakness: CWE-614

Which versions are affected by CVE-2025-8037?

It affects 2 products.

Products include Mozilla Firefox, Mozilla Thunderbird.

How do I fix CVE-2025-8037?

Upgrade to a fixed version.

Is CVE-2025-8037 being exploited?

There is no known exploitation of CVE-2025-8037 in the wild and no public exploit code.

All Mozilla Firefox vulnerabilities

Sources

Also known as GHSA-fw75-5frq-vxhg, UBUNTU-CVE-2025-8037.

Is CVE-2025-8037 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free