CVE-2020-7661 json
Regular expression denial of service in url-regex
published 2020-06-04 6 y ago modified 2026-06-17 4 mo ago also GHSA-v4rh-8p82-6h5w , EUVD-2020-0514
- cvss
- 7.5
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 2.7%
- EPSS 2.7% chance of exploitation in 30 days, percentile 85%
- public exploits
- 0
- none known
Summary
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.
Exploit prediction
2.67% chance of exploitation in the next 30 days, higher than 85% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/kevva/url-regex/issues/70 referenced PoC, tagged "exploit" by a source, unverified
- snyk.io https://snyk.io/vuln/SNYK-JS-URLREGEX-569472 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 2.0 | 7.8 | AV:N/AC:L/Au:N/C:N/I:N/A:C |
| GitHub | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | url-regex | <=5.0.0 |
no fix listed |
Affected products
- n/a url-regex
Classification
- Weakness
-
- CWE-400 Uncontrolled Resource Consumption
References
-
github.com
/kevva/url-regex/issues/70
web, exploit, third-party-advisory
-
snyk.io
/vuln/SNYK-JS-URLREGEX-569472
web, exploit, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2020-7661
advisory
-
github.com
/kevva/url-regex
package
Sources
- CVE List CVE-2020-7661
- GitHub Advisory GHSA-v4rh-8p82-6h5w
- NVD CVE-2020-7661
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.