Description
is.js is a general-purpose check library. Versions 0.9.0 and prior contain one or more regular expressions that are vulnerable to Regular Expression Denial of Service (ReDoS). is.js uses a regex copy-pasted from a gist to validate URLs. Trying to validate a malicious string can cause the regex to loop “forever.
Recommendation
No fix is available yet. Followings are affected versions:
- <= 0.9.0
References
Could your website be exposed too?
SmartScanner can check your website for is_js vulnerable to Regular Expression Denial of Service and gives you actionable findings to investigate.
Start a free scanRelated Issues
- insane vulnerable to Regular Expression Denial of Service - CVE-2020-26303
- glob-parent vulnerable to Regular Expression Denial of Service in enclosure regex - CVE-2020-28469
- jspdf vulnerable to Regular Expression Denial of Service (ReDoS) - CVE-2021-23353
- steal vulnerable to Regular Expression Denial of Service via source and sourceWithComments - CVE-2022-37262


