{"id":"CVE-2022-40958","aliases":["CVE-2022-40958"],"related":[],"kind":"vulnerability","state":"published","title":"By injecting a cookie with certain special characters, an attacker on a shared subdomain which is not a secure context could set and thus o…","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"Al inyectar una cookie con ciertos caracteres especiales, un atacante en un subdominio compartido que no es un contexto seguro podría establecer y, por lo tanto, sobrescribir cookies desde un contexto seguro, lo que provocaría la fijación de sesiones y otros ataques. Esta vulnerabilidad afecta a Firefox ESR &lt; 102.3, Thunderbird &lt; 102.3 y Firefox &lt; 105.","source":"nvd"}],"published":"2022-12-22T00:00:00.000Z","modified":"2026-06-17T05:02:17.883Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N","score":6.5,"rating":"MEDIUM"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N","score":6.5,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N","score":6.5,"rating":"MEDIUM"}],"cwes":["CWE-74"],"affected":[{"ranges":[{"type":"custom","introduced":"unspecified","fixed":"102.3","status":"affected"}],"vendor":"Mozilla","product":"Firefox ESR","source":"cvelist"},{"ranges":[{"type":"custom","introduced":"unspecified","fixed":"102.3","status":"affected"}],"vendor":"Mozilla","product":"Thunderbird","source":"cvelist"},{"ranges":[{"type":"custom","introduced":"unspecified","fixed":"105","status":"affected"}],"vendor":"Mozilla","product":"Firefox","source":"cvelist"},{"ranges":[{"status":"affected","fixed":"105.0"}],"vendor":"mozilla","product":"firefox","cpe":"cpe:2.3:a:mozilla:firefox:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","fixed":"102.3"}],"vendor":"mozilla","product":"firefox_esr","cpe":"cpe:2.3:a:mozilla:firefox_esr:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","fixed":"102.3"}],"vendor":"mozilla","product":"thunderbird","cpe":"cpe:2.3:a:mozilla:thunderbird:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://www.mozilla.org/security/advisories/mfsa2022-40/","tags":["vendor-advisory","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://www.mozilla.org/security/advisories/mfsa2022-41/","tags":["vendor-advisory","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://www.mozilla.org/security/advisories/mfsa2022-42/","tags":["vendor-advisory","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://bugzilla.mozilla.org/show_bug.cgi?id=1779993","tags":["issue-tracking","permissions-required","x-transferred"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"mozilla","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2025-04-15T14:54:50.182Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-40958","url":"https://www.cve.org/CVERecord?id=CVE-2022-40958","licence":"CVE Terms of Use","modified":"2025-04-15T14:55:52.463Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-40958","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-40958","licence":"Public domain","modified":"2026-06-17T05:02:17.883Z"}],"updatedAt":"2026-11-25T22:58:17.801Z","epss":{"score":0.01486,"percentile":0.74788,"date":"2026-12-01T12:00:22.000Z"}}