urlregex@0.4.1 vulnerabilities

URL validation for Node and the browser

Direct Vulnerabilities

Known vulnerabilities in the urlregex package. This does not include vulnerabilities belonging to this package’s dependencies.

Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.
Fix for free
Vulnerability Vulnerable Version
  • H
Regular Expression Denial of Service (ReDoS)

urlregex is a no-dependency URL validation for Node and the browser.

Affected versions of this package are vulnerable to Regular Expression Denial of Service (ReDoS). An attacker providing a very long string in String.test can cause a Denial of Service.

How to fix Regular Expression Denial of Service (ReDoS)?

Upgrade urlregex to version 0.5.1 or higher.

<0.5.1