CVE-2022-31743: XSS

Published May 31, 2022
·
Updated

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.

Affected Software

14 affected componentsFixes available
Mozilla Firefox<101
101
Mozilla Firefox<101.0
alpine/firefox<101.0-r0
101.0-r0
alpine/firefox<101.0-r0
101.0-r0
alpine/firefox<101.0-r0
101.0-r0
alpine/firefox<101.0-r0
101.0-r0
alpine/firefox<101.0-r0
101.0-r0
alpine/firefox<101.0-r0
101.0-r0
alpine/firefox<101.0-r0
101.0-r0
alpine/firefox<101.0-r0
101.0-r0
alpine/librewolf<101.0-r0
101.0-r0
alpine/librewolf<101.0-r0
101.0-r0
alpine/librewolf<101.0-r0
101.0-r0
alpine/librewolf<101.0-r0
101.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 101
  2. Upgrade

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

    Fixed in 101
  3. Upgrade

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

    Fixed in 101.0-r0
  4. Upgrade

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

    Fixed in 101.0-r0

Event History

May 31, 2022
CVE Published
12:00 AM
Data Sourced
via Mozilla·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
Data Sourced
via OSV·08:15 PM
DescriptionSeverityAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Frequently Asked Questions

1

What is the severity of CVE-2022-31743?

CVE-2022-31743 has a moderate severity rating due to the potential for HTML comment escaping.

2

How do I fix CVE-2022-31743?

To remediate CVE-2022-31743, upgrade to Mozilla Firefox version 101 or later.

3

What impact does CVE-2022-31743 have on web security?

CVE-2022-31743 can lead to XSS vulnerabilities by allowing attackers to manipulate HTML comments.

4

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

CVE-2022-31743 affects all versions of Mozilla Firefox prior to version 101.

5

Is there a workaround for CVE-2022-31743?

There is no known workaround for CVE-2022-31743 other than upgrading to a secure version of Firefox.

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