CVE-2020-7661Url-regex Project Url-regex
High 7.5 No auth needed
Follow: this CVE · Url-regex Project · Url-regex Project Url-regex We alert you by email or Slack (account required).
- Priority
- 60
- CVSS 3.1
- 7.5
- EPSS
- 2.7% probability of exploitation in 30 days · percentile 87
- Auth required
- No
- Published
- Jun 4, 2020
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-400
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
What happens
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.
What to do
- Apply the vendor's security update for Url-regex.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| npm | url-regex |
≤ 5.0.0 |
no fixed version | — |
Per OSV / GitHub Advisories (GHSA-v4rh-8p82-6h5w). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| url-regex_project | url-regex | all |
Official sources
References
Links published by the sources. Open them with care.
- github.com Exploit Third Party Advisory
- snyk.io Exploit Third Party Advisory