cve.bz

CVE-2022-40956 mozilla: Cross-site Scripting

6.1 mediumEPSS 0.9%

Medium (6.1) in mozilla. EPSS 0.9% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

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
EPSS
0.9% (unchanged from 0.9% a week ago; 0.9% 30 days ago) estimated probability of exploitation activity in the next 30 days; 62nd percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2025-04-15. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-79 Improper Neutralization of Input During Web Page Generation (Cross-site Scripting)
OWASP Top 10
A05:2025 Injection
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2022-40956 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2022-40956?via=ask-ai-copy and https://cve.bz/cve/CVE-2022-40956?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2022-40956 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
Mozilla Firefox ESRbefore 102.3
Mozilla Thunderbirdbefore 102.3
Mozilla Firefoxbefore 105

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian10firefox-esr102.3.0esr-1~deb10u2DLA-3121-1
Debian10thunderbird1:102.3.0-1~deb10u1DLA-3123-1
Debian11firefox-esr102.3.0esr-1~deb11u1DSA-5237-1
Debian11thunderbird1:102.3.0-1~deb11u1DSA-5238-1
Debian12, 13, 14firefox-esr102.3.0esr-1DEBIAN-CVE-2022-40956
Debian12, 13, 14thunderbird1:102.3.0-1DEBIAN-CVE-2022-40956
Ubuntu18.04:LTSfirefox105.0+build2-0ubuntu0.18.04.1UBUNTU-CVE-2022-40956 USN-5649-1
Ubuntu18.04:LTSthunderbird1:102.4.2+build2-0ubuntu0.18.04.1UBUNTU-CVE-2022-40956 USN-5724-1
Ubuntu20.04:LTSfirefox105.0+build2-0ubuntu0.20.04.1UBUNTU-CVE-2022-40956 USN-5649-1
Ubuntu20.04:LTSthunderbird1:102.4.2+build2-0ubuntu0.20.04.1UBUNTU-CVE-2022-40956 USN-5724-1
Ubuntu22.04:LTSthunderbird1:102.4.2+build2-0ubuntu0.22.04.1UBUNTU-CVE-2022-40956 USN-5724-1
Red Hatenterprise_linux:7::client, enterprise_linux:7::server, enterprise_linux:7::workstationfirefox, firefox-debuginfo0:102.3.0-6.el7_9RHSA-2022:6711
Red Hatenterprise_linux:7::client, enterprise_linux:7::server, enterprise_linux:7::workstationthunderbird, thunderbird-debuginfo0:102.3.0-3.el7_9RHSA-2022:6710
Red Hatenterprise_linux:8::appstreamfirefox, firefox-debuginfo, firefox-debugsource0:102.3.0-6.el8_6RHSA-2022:6702
Red Hatenterprise_linux:8::appstreamthunderbird, thunderbird-debuginfo, thunderbird-debugsource0:102.3.0-3.el8_6RHSA-2022:6708
Red Hatenterprise_linux:9::appstreamfirefox, firefox-debuginfo, firefox-debugsource0:102.3.0-6.el9_0RHSA-2022:6700
Red Hatenterprise_linux:9::appstreamthunderbird, thunderbird-debuginfo, thunderbird-debugsource0:102.3.0-3.el9_0RHSA-2022:6717
Red Hatrhel_e4s:8.1::appstreamfirefox, firefox-debuginfo, firefox-debugsource0:102.3.0-6.el8_1RHSA-2022:6703
Red Hatrhel_e4s:8.1::appstreamthunderbird, thunderbird-debuginfo, thunderbird-debugsource0:102.3.0-3.el8_1RHSA-2022:6716
Red Hatrhel_eus:8.2::appstreamfirefox, firefox-debuginfo, firefox-debugsource0:102.3.0-6.el8_2RHSA-2022:6707
Red Hatrhel_eus:8.2::appstreamthunderbird, thunderbird-debuginfo, thunderbird-debugsource0:102.3.0-3.el8_2RHSA-2022:6715
Red Hatrhel_eus:8.4::appstreamfirefox, firefox-debuginfo, firefox-debugsource0:102.3.0-6.el8_4RHSA-2022:6701
Red Hatrhel_eus:8.4::appstreamthunderbird, thunderbird-debuginfo, thunderbird-debugsource0:102.3.0-3.el8_4RHSA-2022:6713
SUSEEnterprise Storage 6, Linux Enterprise High Performance Computing 15 SP1-ESPOS, Linux Enterprise High Performance Computing 15 SP1-LTSS and 7 moreMozillaFirefox102.3.0-150000.150.59.2SUSE-SU-2022:3441-1
SUSEEnterprise Storage 7, Linux Enterprise High Performance Computing 15 SP2-ESPOS, Linux Enterprise High Performance Computing 15 SP2-LTSS and 8 moreMozillaFirefox102.3.0-150200.152.61.1SUSE-SU-2022:3396-1
SUSEEnterprise Storage 7, Linux Enterprise High Performance Computing 15 SP2-ESPOS, Linux Enterprise High Performance Computing 15 SP2-LTSS and 8 moreMozillaFirefox-branding-SLE102-150200.9.10.1SUSE-SU-2022:3396-1
SUSELinux Enterprise Module for Package Hub 15 SP3, Linux Enterprise Module for Package Hub 15 SP4, Linux Enterprise Workstation Extension 15 SP3 and 1 moreMozillaThunderbird102.4.0-150200.8.85.1SUSE-SU-2022:3800-1
SUSELinux Enterprise Server 12 SP2-BCL, Linux Enterprise Server 12 SP3-BCL, Linux Enterprise Server 12 SP4-LTSS and 6 moreMozillaFirefox102.3.0-112.133.1SUSE-SU-2022:3440-1
openSUSELeap 15.3, Leap 15.4MozillaFirefox102.3.0-150200.152.61.1SUSE-SU-2022:3396-1
openSUSELeap 15.3, Leap 15.4MozillaFirefox-branding-SLE102-150200.9.10.1SUSE-SU-2022:3396-1
openSUSELeap 15.3, Leap 15.4MozillaThunderbird102.4.0-150200.8.85.1SUSE-SU-2022:3800-1
openSUSETumbleweedMozillaFirefox105.0.3-1.1openSUSE-SU-2024:12398-1
openSUSETumbleweedMozillaThunderbird102.3.0-1.1openSUSE-SU-2024:12358-1
openSUSETumbleweedfirefox-esr128.5.1-1.1openSUSE-SU-2024:14572-1
AlmaLinux8firefox102.3.0-6.el8_6.almaALSA-2022:6702
AlmaLinux8thunderbird102.3.0-3.el8_6.almaALSA-2022:6708
AlmaLinux9firefox102.3.0-6.el9_0.almaALSA-2022:6700
AlmaLinux9thunderbird102.3.0-3.el9_0.almaALSA-2022:6717
Rocky Linux8firefox0:102.3.0-6.el8_6RLSA-2022:6702
Rocky Linux8thunderbird0:102.3.0-3.el8_6RLSA-2022:6708
Alpinev3.18, v3.19, v3.20 and 3 morefirefox-esr102.3.0-r0ALPINE-CVE-2022-40956

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine.

Red Hat

Red Hat rates this Low.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 7thunderbird-0:102.3.0-3.el7_9Fixed 2022-09-26RHSA-2022:6710
Red Hat Enterprise Linux 7firefox-0:102.3.0-6.el7_9Fixed 2022-09-26RHSA-2022:6711
Red Hat Enterprise Linux 8firefox-0:102.3.0-6.el8_6Fixed 2022-09-26RHSA-2022:6702
Red Hat Enterprise Linux 8thunderbird-0:102.3.0-3.el8_6Fixed 2022-09-26RHSA-2022:6708
Red Hat Enterprise Linux 8.1 Update Services for SAP Solutionsfirefox-0:102.3.0-6.el8_1Fixed 2022-09-26RHSA-2022:6703
Red Hat Enterprise Linux 8.1 Update Services for SAP Solutionsthunderbird-0:102.3.0-3.el8_1Fixed 2022-09-26RHSA-2022:6716
Red Hat Enterprise Linux 8.2 Extended Update Supportfirefox-0:102.3.0-6.el8_2Fixed 2022-09-26RHSA-2022:6707
Red Hat Enterprise Linux 8.2 Extended Update Supportthunderbird-0:102.3.0-3.el8_2Fixed 2022-09-26RHSA-2022:6715
Red Hat Enterprise Linux 8.4 Extended Update Supportfirefox-0:102.3.0-6.el8_4Fixed 2022-09-26RHSA-2022:6701
Red Hat Enterprise Linux 8.4 Extended Update Supportthunderbird-0:102.3.0-3.el8_4Fixed 2022-09-26RHSA-2022:6713
Red Hat Enterprise Linux 9firefox-0:102.3.0-6.el9_0Fixed 2022-09-26RHSA-2022:6700
Red Hat Enterprise Linux 9thunderbird-0:102.3.0-3.el9_0Fixed 2022-09-26RHSA-2022:6717
Red Hat Enterprise Linux 6firefoxOut of support scope
Red Hat Enterprise Linux 6thunderbirdOut of support scope

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2022-40956.

Attack patterns (CAPEC)

  • CAPEC-63 Cross-Site Scripting (XSS) Likelihood: High · Severity: Very High
  • CAPEC-85 AJAX Footprinting Likelihood: High · Severity: Low
  • CAPEC-209 XSS Using MIME Type Mismatch Severity: Medium
  • CAPEC-588 DOM-Based XSS Likelihood: High · Severity: Very High
  • CAPEC-591 Reflected XSS Likelihood: High · Severity: Very High
  • CAPEC-592 Stored XSS Likelihood: High · Severity: Very High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON