CVE-2022-34475: XSS

Published Jun 28, 2022
·
Updated

SVG <code>&lt;use&gt;</code> tags that referenced a same-origin document could have resulted in script execution if attacker input was sanitized via the HTML Sanitizer API. This would have required the attacker to reference a same-origin JavaScript file containing the script to be executed. This vulnerability affects Firefox < 102.

Other sources

SVG <use> tags that referenced a same-origin document could have resulted in script execution if attacker input was sanitized via the HTML Sanitizer API. This would have required the attacker to reference a same-origin JavaScript file containing the script to be executed.

Affected Software

16 affected componentsFixes available
Mozilla Firefox<102
102
Mozilla Firefox<102.0
ubuntu/firefox<102.0+build2-0ubuntu0.18.04.1
102.0+build2-0ubuntu0.18.04.1
ubuntu/firefox<102.0+build2-0ubuntu0.20.04.1
102.0+build2-0ubuntu0.20.04.1
alpine/firefox<102.0-r0
102.0-r0
alpine/firefox<102.0-r0
102.0-r0
alpine/firefox<102.0-r0
102.0-r0
alpine/firefox<102.0-r0
102.0-r0
alpine/firefox<102.0-r0
102.0-r0
alpine/firefox<102.0-r0
102.0-r0
alpine/firefox<102.0-r0
102.0-r0
alpine/librewolf<102.0-r0
102.0-r0
alpine/librewolf<102.0-r0
102.0-r0
alpine/librewolf<102.0-r0
102.0-r0
alpine/librewolf<102.0-r0
102.0-r0
alpine/librewolf<102.0-r0
102.0-r0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Firefox to a version that resolves this vulnerability.

    Fixed in 102
  2. Upgrade

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

    Fixed in 102
  3. Upgrade

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

    Fixed in 102.0-r0
  4. Upgrade

    Upgrade alpine/librewolf to a version that resolves this vulnerability.

    Fixed in 102.0-r0
  5. Upgrade

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

    Fixed in 102.0+build2-0ubuntu0.18.04.1
  6. Upgrade

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

    Fixed in 102.0+build2-0ubuntu0.20.04.1

Event History

Jun 28, 2022
CVE Published
12:00 AM
Data Sourced
12:00 AM
DescriptionSeverityAffected Software
Updated
via Mozilla·12:00 AM
Affected Software
Jul 5, 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
Jan 4, 2023
Data Sourced
02:57 PM
Weakness
Dec 3, 2026
Updated
via OSV·11:32 PM
Affected Software

Parent advisories

This vulnerability appears in the following advisories.

Frequently Asked Questions

1

What is the severity of CVE-2022-34475?

CVE-2022-34475 is classified as a high severity vulnerability.

2

How do I fix CVE-2022-34475?

To fix CVE-2022-34475, update Mozilla Firefox to version 102.0 or later.

3

What impact does CVE-2022-34475 have on users?

CVE-2022-34475 could allow attackers to execute scripts through malicious SVG <code>&lt;use&gt;</code> tags.

4

Which versions of Firefox are affected by CVE-2022-34475?

CVE-2022-34475 affects Mozilla Firefox versions prior to 102.0.

5

Is the HTML Sanitizer API involved in CVE-2022-34475?

Yes, the HTML Sanitizer API plays a role in the vulnerability by potentially sanitizing attacker input.

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