# CVE-2022-34475: Mozilla Firefox and 2 others: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

CVE-2022-34475 is fixed in 5 products on 2 platforms, first by Mozilla Firefox ESR (en-US) 102.0, released June 23, 2022. It is not reported as exploited. Patch Radar priority: Routine.

- Web page: https://patchblox.com/security/cve/CVE-2022-34475
- Priority: Routine
- CVSS: 6.1 (Medium)
- EPSS: 0.0061
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Jul 4, 2022
- Weakness: CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
- Vendor advisory: https://nvd.nist.gov/vuln/detail/CVE-2022-34475

## Description

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.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Windows apps | Mozilla Firefox (en-US) | 102.0 | [Mozilla Firefox (en-US) 102.0](https://patchblox.com/security/data/fix/windows-app/mozilla.firefox-102.0.md) | Jun 27, 2022 |
| Windows apps | Mozilla Firefox ESR (en-US) | 102.0 | [Mozilla Firefox ESR (en-US) 102.0](https://patchblox.com/security/data/fix/windows-app/mozilla.firefox.esr-102.0.md) | Jun 23, 2022 |
| Linux | firefox Ubuntu 18.04.6 LTS (bionic) | 102.0+build2-0ubuntu0.18.04.1 | [firefox 102.0+build2-0ubuntu0.18.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-firefox-102.0-build2-0ubuntu0.18.04.1.md) | Jul 4, 2022 |
| Linux | firefox Ubuntu 20.04 LTS (focal) | 102.0+build2-0ubuntu0.20.04.1 | [firefox 102.0+build2-0ubuntu0.20.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-focal-firefox-102.0-build2-0ubuntu0.20.04.1.md) | Jul 4, 2022 |
| Linux | firefox-geckodriver Ubuntu 18.04.6 LTS (bionic) | 102.0+build2-0ubuntu0.18.04.1 | [firefox-geckodriver 102.0+build2-0ubuntu0.18.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-firefox-geckodriver-102.0-build2-0ubuntu0.18.04.1.md) | Jul 4, 2022 |
| Linux | firefox-geckodriver Ubuntu 20.04 LTS (focal) | 102.0+build2-0ubuntu0.20.04.1 | [firefox-geckodriver 102.0+build2-0ubuntu0.20.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-focal-firefox-geckodriver-102.0-build2-0ubuntu0.20.04.1.md) | Jul 4, 2022 |
| Linux | firefox-mozsymbols Ubuntu 18.04.6 LTS (bionic) | 102.0+build2-0ubuntu0.18.04.1 | [firefox-mozsymbols 102.0+build2-0ubuntu0.18.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-firefox-mozsymbols-102.0-build2-0ubuntu0.18.04.1.md) | Jul 4, 2022 |
| Linux | firefox-mozsymbols Ubuntu 20.04 LTS (focal) | 102.0+build2-0ubuntu0.20.04.1 | [firefox-mozsymbols 102.0+build2-0ubuntu0.20.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-focal-firefox-mozsymbols-102.0-build2-0ubuntu0.20.04.1.md) | Jul 4, 2022 |

---

Data as of 2026-11-08T13:06:02Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
