CVE-2020-7661
HIGH 7.5CVSS 3.1Regular expression denial of service in url-regex
all versions of url-regex are vulnerable to Regular Expression Denial of Service. An attacker providing a very long string in String.test can cause a Denial of Service.
- Published
- 4 Jun 2020
- Last modified
- 17 Jun 2026
- Assigned by
- report@snyk.io
- NVD status
- Modified
- Weakness
- CWE-400
- Also known as
- GHSA-v4rh-8p82-6h5w
- Sources
- NVDJSONOSV GHSA-v4rh-8p82-6h5wJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | HIGH 7.8 | AV:N/AC:L/Au:N/C:N/I:N/A:C |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | url-regex_project | url-regexcpe:2.3:a:url-regex_project:url-regex:*:*:*:*:*:*:*:* |
all versions | |
| OSV | npm | url-regex | <= 5.0.0 |
References
- https://github.com/kevva/url-regex/issues/70 · Exploit, Third Party Advisory, WEB
- https://snyk.io/vuln/SNYK-JS-URLREGEX-569472 · Exploit, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2020-7661 · ADVISORY
- https://github.com/kevva/url-regex · PACKAGE
History
- 25 Nov 2026 20:31 UTC · NVD: first stored (published 4 Jun 2020)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 22 Jun 2020)