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

CVE-2022-31743 is fixed in 5 products on 2 platforms, first by Mozilla Firefox (en-US) 101.0, released May 31, 2022. It is not reported as exploited. Patch Radar priority: Routine.

- Web page: https://patchblox.com/security/cve/CVE-2022-31743
- Priority: Routine
- CVSS: 6.5 (Medium)
- EPSS: 0.0046
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: May 31, 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-31743

## Description

Firefox's HTML parser did not correctly interpret HTML comment tags, resulting in an incongruity with other browsers. This could have been used to escape HTML comments on pages that put user-controlled data in them. This vulnerability affects Firefox < 101.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Windows apps | Mozilla Firefox (en-US) | 101.0 | [Mozilla Firefox (en-US) 101.0](https://patchblox.com/security/data/fix/windows-app/mozilla.firefox-101.0.md) | May 31, 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) | 101.0.1+build1-0ubuntu0.18.04.1 | [firefox 101.0.1+build1-0ubuntu0.18.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-firefox-101.0.1-build1-0ubuntu0.18.04.1.md) | May 31, 2022 |
| Linux | firefox Ubuntu 20.04 LTS (focal) | 101.0.1+build1-0ubuntu0.20.04.1 | [firefox 101.0.1+build1-0ubuntu0.20.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-focal-firefox-101.0.1-build1-0ubuntu0.20.04.1.md) | May 31, 2022 |
| Linux | firefox-geckodriver Ubuntu 18.04.6 LTS (bionic) | 101.0.1+build1-0ubuntu0.18.04.1 | [firefox-geckodriver 101.0.1+build1-0ubuntu0.18.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-firefox-geckodriver-101.0.1-build1-0ubuntu0.18.04.1.md) | May 31, 2022 |
| Linux | firefox-geckodriver Ubuntu 20.04 LTS (focal) | 101.0.1+build1-0ubuntu0.20.04.1 | [firefox-geckodriver 101.0.1+build1-0ubuntu0.20.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-focal-firefox-geckodriver-101.0.1-build1-0ubuntu0.20.04.1.md) | May 31, 2022 |
| Linux | firefox-mozsymbols Ubuntu 18.04.6 LTS (bionic) | 101.0.1+build1-0ubuntu0.18.04.1 | [firefox-mozsymbols 101.0.1+build1-0ubuntu0.18.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-firefox-mozsymbols-101.0.1-build1-0ubuntu0.18.04.1.md) | May 31, 2022 |
| Linux | firefox-mozsymbols Ubuntu 20.04 LTS (focal) | 101.0.1+build1-0ubuntu0.20.04.1 | [firefox-mozsymbols 101.0.1+build1-0ubuntu0.20.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-focal-firefox-mozsymbols-101.0.1-build1-0ubuntu0.20.04.1.md) | May 31, 2022 |

---

Data as of 2026-11-09T01:18:40Z 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.
