CWE
79
Advisory Published
CVE Published
Updated

CVE-2022-34475: XSS

First published: Tue 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.

Credit: security@mozilla.org

Affected SoftwareAffected VersionHow to fix
Firefox<102
102
Firefox<102.0

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Parent vulnerabilities

(Appears in the following advisories)

Frequently Asked Questions

  • What is the severity of CVE-2022-34475?

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

  • How do I fix CVE-2022-34475?

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

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

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

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

  • 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.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203