CVE-2022-40958

State
Published
Severity
6.5 Medium
Published
Dec 22, 2022
Updated
Apr 15, 2025
Reserved
Sep 19, 2022

Read the record on cve.org

Description

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.

Scores

CVSSScoreVectorSource
3.16.5 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:NCISA-ADP

Weaknesses

  • CWE-74 Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')

Affected Products

ProductVersions
Firefox ESRMozilla
  • before 102.3Affected
ThunderbirdMozilla
  • before 102.3Affected
FirefoxMozilla
  • before 105Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.