css-what vulnerable to ReDoS due to use of insecure regular expression
High severity
GitHub Reviewed
Published
Oct 1, 2022
to the GitHub Advisory Database
•
Updated Nov 29, 2023
Description
Published by the National Vulnerability Database
Sep 30, 2022
Published to the GitHub Advisory Database
Oct 1, 2022
Reviewed
Oct 4, 2022
Last updated
Nov 29, 2023
The package css-what before 2.1.3 is vulnerable to Regular Expression Denial of Service (ReDoS) due to the use of insecure regular expression in the
re_attr
variable of index.js. The exploitation of this vulnerability could be triggered via the parse function.References