CVE-2022-40958

published 22 Dec 2022 · updated 15 Apr 2025

By injecting a cookie with certain special characters, an attacker on a shared subdomain which is not a secure context could set and thus…

6.5MediumCVSS 6.5EPSS 1%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in Firefox 102.3, Firefox 105 and Thunderbird 102.3.

By injecting a cookie with certain special characters, an attacker on a shared subdomain which is not a secure context could set and thus overwrite cookies from a secure context, leading to session fixation and other attacks. This vulnerability affects Firefox ESR < 102.3, Thunderbird < 102.3, and Firefox < 105.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
MozillaFirefox<102.3, <105102.3, 105
MozillaThunderbird<102.3102.3

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Firefox, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2022-40958 severity on Zeptric[![CVE-2022-40958](https://zeptric.io/badge/cve/CVE-2022-40958.svg)](https://zeptric.io/cve/CVE-2022-40958)