CVE-2022-21222 MEDIUM

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

Vendor N/A
Product css-what
Published September 30, 2022
Last update May 20, 2025

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/E:P

What the vulnerability does

01Description

The package css-what before 2.1.3 are vulnerable to Regular Expression Denial of Service (ReDoS) due to the usage of insecure regular expression in the re_attr variable of index.js. The exploitation of this vulnerability could be triggered via the parse function.

Key dates

02Disclosure timeline

September 30, 2022 CVE published
May 20, 2025 Record updated