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.
{
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/21xxx/CVE-2022-21222.json",
"cna_assigner": "snyk"
}{
"cpe": "cpe:2.3:a:css-what_project:css-what:*:*:*:*:*:node.js:*:*",
"extracted_events": [
{
"introduced": "0"
},
{
"fixed": "2.1.3"
}
],
"source": [
"AFFECTED_FIELD",
"CPE_RANGE"
]
}