Vulnerability · Published Dec 22, 2022 · Assigned by mozilla
CVE-2022-40956
Medium 6.1
In plain English
A medium-severity cross-site scripting in Firefox from Mozilla. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.9% (higher than 61% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS 3.1)6.1Medium
Exploit odds (30 days)0.9%top 38.8% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known
Official description
When injecting an HTML base element, some requests would ignore the CSP's base-uri settings and accept the injected element's base instead. This vulnerability affects Firefox ESR < 102.3, Thunderbird < 102.3, and Firefox < 105.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux:8 | firefox | 102.3.0-6.el8_6.alma | ALSA-2022:6702 |
| AlmaLinux:9 | firefox | 102.3.0-6.el9_0.alma | ALSA-2022:6700 |
| AlmaLinux:8 | thunderbird | 102.3.0-3.el8_6.alma | ALSA-2022:6708 |
| AlmaLinux:9 | thunderbird | 102.3.0-3.el9_0.alma | ALSA-2022:6717 |
| Alpine:v3.20 | firefox-esr | 102.3.0-r0 | ALPINE-CVE-2022-40956 |
| Alpine:v3.21 | firefox-esr | 102.3.0-r0 | ALPINE-CVE-2022-40956 |
| Alpine:v3.22 | firefox-esr | 102.3.0-r0 | ALPINE-CVE-2022-40956 |
| Alpine:v3.23 | firefox-esr | 102.3.0-r0 | ALPINE-CVE-2022-40956 |
| Debian:12 | firefox-esr | 102.3.0esr-1 | DEBIAN-CVE-2022-40956 |
| Debian:13 | firefox-esr | 102.3.0esr-1 | DEBIAN-CVE-2022-40956 |
| Debian:14 | firefox-esr | 102.3.0esr-1 | DEBIAN-CVE-2022-40956 |
| Debian:12 | thunderbird | 1:102.3.0-1 | DEBIAN-CVE-2022-40956 |
| Debian:13 | thunderbird | 1:102.3.0-1 | DEBIAN-CVE-2022-40956 |
| Debian:14 | thunderbird | 1:102.3.0-1 | DEBIAN-CVE-2022-40956 |
| Rocky Linux:8 | firefox | 0:102.3.0-6.el8_6 | RLSA-2022:6702 |
| Rocky Linux:8 | thunderbird | 0:102.3.0-3.el8_6 | RLSA-2022:6708 |
| Ubuntu:22.04:LTS | thunderbird | 1:102.4.2+build2-0ubuntu0.22.04.1 | UBUNTU-CVE-2022-40956 |
| Ubuntu:22.04:LTS | thunderbird | 1:102.4.2+build2-0ubuntu0.22.04.1 | USN-5724-1 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Mozilla | Firefox ESR | unspecified – before 102.3 |
| Mozilla | Thunderbird | unspecified – before 102.3 |
| Mozilla | Firefox | unspecified – before 105 |
Weakness: CWE-79 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N