PT-2022-3595 · Mozilla+4 · Firefox+4

Linus Särud

·

Published

2022-05-31

·

Updated

2024-12-12

·

CVE-2022-31743

CVSS v3.1

6.5

Medium

VectorAV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
Name of the Vulnerable Software and Affected Versions Firefox versions prior to 101
Description The issue is related to incorrect handling of HTML comment tags by the browser's HTML parser, potentially allowing a remote attacker to conduct cross-site scripting attacks. This could be exploited when user-controlled data is placed within HTML comments on a webpage, enabling the attacker to escape the comments.
Recommendations For Firefox versions prior to 101, update to version 101 or later to resolve the issue. As a temporary workaround, consider restricting the use of user-controlled data within HTML comments to minimize the risk of exploitation.

Exploit

Fix

XSS

Code Injection

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

ALT-PU-2022-1988
ALT-PU-2022-2458
ALT-PU-2022-2929
ALT-PU-2022-2930
ALT-PU-2023-1138
ALT-PU-2023-1139
ALT-PU-2023-4336
ALT-PU-2023-4339
BDU:2022-04379
CVE-2022-31743
OESA-2023-1673
OESA-2023-1674
OPENSUSE-SU-2024:12121-1
OPENSUSE-SU-2024:14572-1
USN-5475-1

Affected Products

Alt Linux
Astra Linux
Firefox
Linuxmint
Ubuntu