Back
CVE-2020-7754
Regular Expression Denial of Service (ReDoS)
High7.5EPSS 3.5%
- Published
- Updated
- Reserved
- Assigned by
- snyk
Description
This affects the package npm-user-validate before 1.0.1. The regex that validates user emails took exponentially longer to process long input strings beginning with @ characters.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| snykCNA (assigner) | 3.1 | High7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVDNVD · Modified | 3.1 | High7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
- EPSS (exploitation in 30 days)
- 3.5% · top 11% of all CVEs (6 Nov 2026)
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 7.5.
Weakness
- Regular Expression Denial of Service (ReDoS)
Affected products
npm-user-validate
- affected unspecified – < 1.0.1
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- npmnpm-user-validateGHSA-pw54-mh39-w3hc (opens in a new tab)
References (4)
- https://snyk.io/vuln/SNYK-JS-NPMUSERVALIDATE-1019352 (opens in a new tab)x_refsource_MISCx_transferred
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1019353 (opens in a new tab)x_refsource_MISCx_transferred
- https://github.com/npm/npm-user-validate/security/advisories/GHSA-xgh6-85xh-479p (opens in a new tab)x_refsource_MISCx_transferred
- https://github.com/npm/npm-user-validate/commit/c8a87dac1a4cc6988b5418f30411a8669bef204e (opens in a new tab)x_refsource_MISCx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-pw54-mh39-w3hc (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2020-7754)Record last updated .