# CVE-2022-40956: When injecting an HTML base element, some requests would ignore the CSP's base-uri settings and accept the injected element's base instead.

- Severity: Medium 6.1 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.19%, higher than 68% of CVEs (2026-12-01)
- Published: 2022-12-22T00:00:00.000Z
- Modified: 2026-06-17T05:02:17.583Z
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: mozilla

## 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.

(As written by CVE List.)

## Affected

- Mozilla Firefox ESR: from unspecified before 102.3
- Mozilla Thunderbird: from unspecified before 102.3; before 102.3
- Mozilla Firefox: from unspecified before 105; before 105.0
- mozilla firefox_esr: before 102.3

## Every score

- CISA-ADP: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`

## References

- <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=1770094> (issue-tracking, permissions-required, vendor-advisory)

## Sources

- CVE List: [CVE-2022-40956](https://www.cve.org/CVERecord?id=CVE-2022-40956), CVE Terms of Use, modified 2025-04-15
- NVD: [CVE-2022-40956](https://nvd.nist.gov/vuln/detail/CVE-2022-40956), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-40956 · Whole record: https://cve.day/CVE-2022-40956.json · Rebuilt by cve.day 2026-11-25T22:58:17.800Z
