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:
- Affected version(s): < 2.1.3
- Patched version(s): 2.1.3
References
Could your website be exposed too?
SmartScanner can check your website for css-what vulnerable to ReDoS due to use of insecure regular expression and gives you actionable findings to investigate.
Start a free scanRelated Issues
- angular vulnerable to regular expression denial of service (ReDoS) - CVE-2022-25844
- http-cache-semantics vulnerable to Regular Expression Denial of Service - CVE-2022-25881
- v8n vulnerable to Inefficient Regular Expression Complexity - CVE-2022-35923
- jspdf vulnerable to Regular Expression Denial of Service (ReDoS) - CVE-2021-23353


