CVE-2022-21222

published 30 Sep 2022 · updated 20 May 2025

Regular Expression Denial of Service (ReDoS)

5.3MediumCVSS 5.3EPSS 2%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 2%. Fixed in 2.1.3.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
<2.1.32.1.3

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2022-21222 severity on Zeptric[![CVE-2022-21222](https://zeptric.io/badge/cve/CVE-2022-21222.svg)](https://zeptric.io/cve/CVE-2022-21222)