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
Related Issues
- undici Denial of Service attack via bad certificate data - CVE-2025-47279
- Marvin Attack of RSA and RSAOAEP decryption in jsrsasign - CVE-2024-21484
- Inefficient Regular Expression Complexity in validator.js - CVE-2021-3765
- Feathers socket handler allows abusing implicit toString - CVE-2023-37899
- Tags:
- npm
- is_js
Anything's wrong? Let us know Last updated on July 06, 2023