Vulnerabilities/

css-what vulnerable to ReDoS due to use of insecure regular expression

Severity:
High

Description

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.

Recommendation

Update the css-what package to the latest compatible version. Followings are version details:

References

Related Issues

Tags:
npm
css-what
Anything's wrong? Let us know Last updated on May 20, 2025