CVE-2020-7754
HIGH 7.5CVSS 3.1Regular expression denial of service in npm-user-validate
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.
- Published
- 27 Oct 2020
- Last modified
- 8 Jul 2026
- Assigned by
- report@snyk.io
- NVD status
- Modified
- Weakness
- CWE-400
- Also known as
- GHSA-pw54-mh39-w3hcGHSA-xgh6-85xh-479p
- Sources
- NVDJSONOSV GHSA-pw54-mh39-w3hcJSONOSV GHSA-xgh6-85xh-479pJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | report@snyk.io (Secondary) | 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 | MEDIUM 5.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | npmjs | npm-user-validatecpe:2.3:a:npmjs:npm-user-validate:*:*:*:*:*:node.js:*:* |
< 1.0.1 | 1.0.1 |
| OSV | npm | npm-user-validate | < 1.0.1 | 1.0.1 |
References
- https://github.com/npm/npm-user-validate/commit/c8a87dac1a4cc6988b5418f30411a8669bef204e · Patch, Third Party Advisory, WEB
- https://github.com/npm/npm-user-validate/security/advisories/GHSA-xgh6-85xh-479p · Third Party Advisory, WEB
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1019353 · Exploit, Third Party Advisory, WEB
- https://snyk.io/vuln/SNYK-JS-NPMUSERVALIDATE-1019352 · Exploit, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2020-7754 · ADVISORY
History
- 25 Nov 2026 20:32 UTC · NVD: first stored (published 27 Oct 2020)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 16 Oct 2020)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 10 May 2021)