CVE-2022-40956

published 22 Dec 2022 · updated 15 Apr 2025

When injecting an HTML base element, some requests would ignore the CSP's base-uri settings and accept the injected element's base instead

6.1MediumCVSS 6.1EPSS 1%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in Firefox 102.3, Firefox 105 and Thunderbird 102.3.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
MozillaFirefox<102.3, <105102.3, 105
MozillaThunderbird<102.3102.3

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Firefox, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2022-40956 severity on Zeptric[![CVE-2022-40956](https://zeptric.io/badge/cve/CVE-2022-40956.svg)](https://zeptric.io/cve/CVE-2022-40956)