Vulnerability · Published Dec 22, 2022 · Assigned by mozilla
CVE-2022-31743
Medium 6.5
In plain English
A medium-severity cross-site scripting in Firefox from Mozilla. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 40% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS 3.1)6.5Medium
Exploit odds (30 days)0.5%top 59.9% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine:v3.20 | firefox | 101.0-r0 | ALPINE-CVE-2022-31743 |
| Alpine:v3.21 | firefox | 101.0-r0 | ALPINE-CVE-2022-31743 |
| Alpine:v3.22 | firefox | 101.0-r0 | ALPINE-CVE-2022-31743 |
| Alpine:v3.23 | firefox | 101.0-r0 | ALPINE-CVE-2022-31743 |
| Alpine:v3.21 | librewolf | 101.0-r0 | ALPINE-CVE-2022-31743 |
| Alpine:v3.22 | librewolf | 101.0-r0 | ALPINE-CVE-2022-31743 |
| Alpine:v3.23 | librewolf | 101.0-r0 | ALPINE-CVE-2022-31743 |
| Alpine:v3.24 | librewolf | 101.0-r0 | ALPINE-CVE-2022-31743 |
| Ubuntu:22.04:LTS | mozjs78 | no fix listed | UBUNTU-CVE-2022-31743 |
| Ubuntu:22.04:LTS | mozjs91 | no fix listed | UBUNTU-CVE-2022-31743 |
Affected products (as reported)
Weakness: CWE-79 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N