# CVE-2022-31743: Firefox's HTML parser did not correctly interpret HTML comment tags, resulting in an incongruity with other browsers.

- Severity: Medium 6.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.48%, higher than 42% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2022-12-22T00:00:00.000Z
- Modified: 2026-06-17T04:46:12.240Z
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: mozilla

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

(As written by CVE List.)

## Affected

- Mozilla Firefox: from unspecified before 101; before 101.0

## Every score

- CISA-ADP: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N`
- NVD: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N`

## References

- <https://bugzilla.mozilla.org/show_bug.cgi?id=1747388> (exploit, issue-tracking, permissions-required, vendor-advisory)
- <https://www.mozilla.org/security/advisories/mfsa2022-20/> (vendor-advisory)

## Sources

- CVE List: [CVE-2022-31743](https://www.cve.org/CVERecord?id=CVE-2022-31743), CVE Terms of Use, modified 2025-04-15
- NVD: [CVE-2022-31743](https://nvd.nist.gov/vuln/detail/CVE-2022-31743), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-31743 · Whole record: https://cve.day/CVE-2022-31743.json · Rebuilt by cve.day 2026-11-25T22:58:17.785Z
