Code Injection in Mozilla Firefox - CVE-2022-31743
Published: May 31, 2022
Vulnerability identifier: #VU63880
CSH Severity: Low
CVSS v4: 2.1 [CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2022-31743
CWE-ID: CWE-94
Exploitation vector: Remote access
Exploit availability:
No public exploit available
Vulnerability details
The vulnerability allows a remote attacker to execute arbitrary JavaScript code.
The vulnerability exists due to improper input validation when handling HTML comment tags. A remote attacker can abuse this error to perform XSS attacks.
Affected software
Mozilla Firefox
Gentoo Linux
Ubuntu
firefox (Ubuntu package)
Gentoo Linux
Ubuntu
firefox (Ubuntu package)
How to mitigate CVE-2022-31743
Install updates from vendor's website.
Mozilla Firefox - update to 101.0
firefox (Ubuntu package) - addressed in versions 101.0.1+build1-0ubuntu0.18.04.1, 101.0.1+build1-0ubuntu0.20.04.1, 101.0.1+build1-0ubuntu0.21.10.1
firefox (Ubuntu package) - addressed in versions 101.0.1+build1-0ubuntu0.18.04.1, 101.0.1+build1-0ubuntu0.20.04.1, 101.0.1+build1-0ubuntu0.21.10.1