5.3
Medium
CVE-2022-21222 The package css-what before 2.1.3 are vulnerable to Regular Expression Denial of Service (ReDoS) due to the usage of…
Description
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 products and versions
| Product | Affected versions | Fixed in |
|---|---|---|
| css-what 2.1 | earliest → < 2.1.3 | 2.1.3 |