CVE-2022-40956: XSS

Published Sep 20, 2022
·
Updated

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

Affected Software

28 affected componentsFixes available
Mozilla Thunderbird<102.3
102.3
Mozilla Firefox<105.0
Mozilla Firefox ESR<102.3
Mozilla Thunderbird<102.3
Mozilla Firefox ESR<102.3
102.3
Mozilla Firefox<105
105
redhat/firefox<102.3
102.3
redhat/thunderbird<102.3
102.3
debian/firefox-esr<102.3.0esr-1
102.3.0esr-1
debian/firefox-esr<102.3.0esr-1
102.3.0esr-1
debian/firefox-esr<102.3.0esr-1
102.3.0esr-1
debian/thunderbird<1:102.3.0-1
1:102.3.0-1
debian/thunderbird<1:102.3.0-1
1:102.3.0-1
debian/thunderbird<1:102.3.0-1
1:102.3.0-1
alpine/firefox-esr<102.3.0-r0
102.3.0-r0
alpine/firefox-esr<102.3.0-r0
102.3.0-r0
alpine/firefox-esr<102.3.0-r0
102.3.0-r0
alpine/firefox-esr<102.3.0-r0
102.3.0-r0
alpine/firefox-esr<102.3.0-r0
102.3.0-r0
alpine/firefox-esr<102.3.0-r0
102.3.0-r0
debian/firefox
105.0-1
debian/firefox-esr
102.3.0esr-1~deb10u2102.3.0esr-1~deb11u1102.3.0esr-1
debian/thunderbird
1:102.3.0-1~deb10u11:102.3.0-1~deb11u11:102.3.0-1
ubuntu/firefox<105.0+build2-0ubuntu0.18.04.1
105.0+build2-0ubuntu0.18.04.1
ubuntu/thunderbird<1:102.4.2+build2-0ubuntu0.18.04.1
1:102.4.2+build2-0ubuntu0.18.04.1
ubuntu/firefox<105.0+build2-0ubuntu0.20.04.1
105.0+build2-0ubuntu0.20.04.1
ubuntu/thunderbird<1:102.4.2+build2-0ubuntu0.20.04.1
1:102.4.2+build2-0ubuntu0.20.04.1
ubuntu/thunderbird<1:102.4.2+build2-0ubuntu0.22.04.1
1:102.4.2+build2-0ubuntu0.22.04.1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Thunderbird to a version that resolves this vulnerability.

    Fixed in 102.3
  2. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 102.3
  3. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 105
  4. Upgrade

    Upgrade redhat/firefox to a version that resolves this vulnerability.

    Fixed in 102.3
  5. Upgrade

    Upgrade redhat/thunderbird to a version that resolves this vulnerability.

    Fixed in 102.3
  6. Upgrade

    Upgrade debian/firefox-esr to a version that resolves this vulnerability.

    Fixed in 102.3.0esr-1
  7. Upgrade

    Upgrade debian/thunderbird to a version that resolves this vulnerability.

    Fixed in 1:102.3.0-1
  8. Upgrade

    Upgrade alpine/firefox-esr to a version that resolves this vulnerability.

    Fixed in 102.3.0-r0
  9. Upgrade

    Upgrade debian/firefox to a version that resolves this vulnerability.

    Fixed in 105.0-1
  10. Upgrade

    Upgrade debian/firefox-esr to a version that resolves this vulnerability.

    Fixed in 102.3.0esr-1~deb10u2Fixed in 102.3.0esr-1~deb11u1Fixed in 102.3.0esr-1
  11. Upgrade

    Upgrade debian/thunderbird to a version that resolves this vulnerability.

    Fixed in 1:102.3.0-1~deb10u1Fixed in 1:102.3.0-1~deb11u1Fixed in 1:102.3.0-1
  12. Upgrade

    Upgrade ubuntu/firefox to a version that resolves this vulnerability.

    Fixed in 105.0+build2-0ubuntu0.18.04.1
  13. Upgrade

    Upgrade ubuntu/thunderbird to a version that resolves this vulnerability.

    Fixed in 1:102.4.2+build2-0ubuntu0.18.04.1
  14. Upgrade

    Upgrade ubuntu/firefox to a version that resolves this vulnerability.

    Fixed in 105.0+build2-0ubuntu0.20.04.1
  15. Upgrade

    Upgrade ubuntu/thunderbird to a version that resolves this vulnerability.

    Fixed in 1:102.4.2+build2-0ubuntu0.20.04.1
  16. Upgrade

    Upgrade ubuntu/thunderbird to a version that resolves this vulnerability.

    Fixed in 1:102.4.2+build2-0ubuntu0.22.04.1

Event History

Sep 20, 2022
CVE Published
12:00 AM
Data Sourced
12:00 AM
DescriptionSeverityAffected Software
Updated
12:00 AM
Affected Software
Sep 21, 2022
Data Sourced
via Red Hat·02:07 PM
DescriptionSeverityAffected Software
Sep 28, 2022
Data Sourced
via OSV·12:00 AM
DescriptionSeverityAffected Software
Dec 22, 2022
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
DescriptionWeakness
Data Sourced
via NVD·08:15 PM
DescriptionSeverityWeaknessAffected Software
Dec 30, 2022
Data Sourced
10:14 PM
Weakness

Parent advisories

This vulnerability appears in the following advisories.

Frequently Asked Questions

1

What is the vulnerability ID for this issue?

The vulnerability ID for this issue is CVE-2022-40956.

2

What software is affected by this vulnerability?

The affected software includes Mozilla Thunderbird up to version 102.3, Mozilla Firefox ESR up to version 102.3, and Mozilla Firefox up to version 105.

3

What is the severity level of CVE-2022-40956?

CVE-2022-40956 has a low severity level.

4

What is the impact of this vulnerability?

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

5

Are there any remediation steps available for this vulnerability?

The remedy for this vulnerability is to update to Mozilla Thunderbird version 102.3 or later, Mozilla Firefox ESR version 102.3 or later, or Mozilla Firefox version 105 or later.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203