Home / url-regex / url-regex / CVE-2020-7661
CVE-2020-7661: is it exploited, and which versions of url-regex are affected and fixed?
CVE-2020-7661 is a denial of service (uncontrolled resource consumption) vulnerability in url-regex. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 14:08 UTC). Affected: url-regex through 5.0.0 (GitHub advisory GHSA-v4rh-8p82-6h5w). No fixed version is listed in the sources yet; check the vendor advisory. Severity: High (7.5, CVSS 3.1, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 14:08 UTC, CVE record November 19, 2026, 07:16 UTC and NVD November 19, 2026, 08:10 UTC.
What is CVE-2020-7661?
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.
From the CVE record by snyk, last updated August 4, 2024, 09:33 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| url-regex | all versions |
As the CVE record by snyk states it, last updated August 4, 2024. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| npm | url-regex | <= 5.0.0 | none listed | GHSA-v4rh-8p82-6h5w |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated September 22, 2021. Summary: Regular expression denial of service in url-regex.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| url-regex project | url-regex | all versions | application |
NVD analysis (status Modified), last modified June 17, 2026, 03:25 UTC.
How severe is CVE-2020-7661?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 7.5 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H | NVD |
| High 7.8 | CVSS 2.0 | AV:N/AC:L/Au:N/C:N/I:N/A:C | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2020-7661 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 2.67% probability of exploitation activity in the next 30 days, percentile 86.2 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-400 Uncontrolled Resource Consumption
Where are the vendor advisories and references?
- https://github.com/kevva/url-regex/issues/70 x_refsource_MISC
- https://snyk.io/vuln/SNYK-JS-URLREGEX-569472 x_refsource_MISC
When was it published, and where is the official record?
- Reserved
- January 21, 2020
- Published
- June 4, 2020, 17:15 UTC
- CVE record updated
- August 4, 2024, 09:33 UTC by snyk
- NVD
- Modified, last modified June 17, 2026, 03:25 UTC
- Last checked
- CVE list November 19, 2026, 07:16 UTC; NVD November 19, 2026, 08:10 UTC; KEV December 3, 2026, 14:08 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect url-regex?
- May 20, 2022CVE-2022-21195 url-regex: regular expression denial of service (ReDoS)
Questions about CVE-2020-7661
Is CVE-2020-7661 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 14:08 UTC. FIRST's EPSS gives it a 2.67% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of url-regex are affected by CVE-2020-7661?
url-regex through 5.0.0, per the GitHub advisory GHSA-v4rh-8p82-6h5w. The tables above give every range the sources list.
Which version fixes CVE-2020-7661?
None of the sources (the CVE record, the NVD and GitHub's reviewed advisories) lists a fixed version yet. Check the vendor's advisory in the references.
How severe is CVE-2020-7661?
High (7.5, CVSS 3.1, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2020-7661?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.