CVEvulnerability
CVE-2022-40958
6.5 MEDIUM
Official page ↗
- Status
- Modified
- Published
- 2022-12-22
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 6.5 MEDIUM — CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
- CVSS 3.1 (134c704f-9b21-4f2e-91b3-4a467353bcc0)
- 6.5 MEDIUM — CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
- Weaknesses
- CWE-74
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.
Affected configurations
• mozilla firefox (< 105.0)
• mozilla firefox esr (< 102.3)
• mozilla thunderbird (< 102.3)
Related
Weakness · CWE (1)
- CWE-74 Improper Neutralization of Special Elements in Output Used by a Downstream Component weakness
References
- https://bugzilla.mozilla.org/show_bug.cgi?id=1779993 Issue Tracking, Permissions Required
- https://www.mozilla.org/security/advisories/mfsa2022-40/ Vendor Advisory
- https://www.mozilla.org/security/advisories/mfsa2022-41/ Vendor Advisory
- https://www.mozilla.org/security/advisories/mfsa2022-42/ Vendor Advisory
- https://bugzilla.mozilla.org/show_bug.cgi?id=1779993 Issue Tracking, Permissions Required
- https://www.mozilla.org/security/advisories/mfsa2022-40/ Vendor Advisory
- https://www.mozilla.org/security/advisories/mfsa2022-41/ Vendor Advisory
- https://www.mozilla.org/security/advisories/mfsa2022-42/ Vendor Advisory