Vulnerability library
Security checkJuly 06, 2023

is_js vulnerable to Regular Expression Denial of Service

Understand the exposure, see the recommended fix, and check whether your own website has related weaknesses.

High severitynpmis_js

Check your website

Find this and other vulnerabilities with a free scan.

Your scan runs on your computer. No account required.

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 scan

Related Issues

See something that needs correcting? Let us knowUpdated July 06, 2023