CVE-2022-25887 MEDIUM

CVE-2022-25887: Regular Expression Denial of Service (ReDoS)

Vendor N/A
Product sanitize-html
Published August 30, 2022
Last update September 17, 2024

CVSS base score

5.3/10
Attack vector Network
Attack complexity Low
Privileges required None
User interaction None
Confidentiality None
Integrity None

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

What the vulnerability does

01Description

The package sanitize-html before 2.7.1 are vulnerable to Regular Expression Denial of Service (ReDoS) due to insecure global regular expression replacement logic of HTML comment removal.

Key dates

02Disclosure timeline

August 30, 2022 CVE published
September 17, 2024 Record updated