CVE-2020-7754Npmjs Npm-user-validate
High 7.5 No auth needed
Follow: this CVE · Npmjs · Npmjs Npm-user-validate We alert you by email or Slack (account required).
- Priority
- 60
- CVSS 3.1
- 7.5
- EPSS
- 3.3% probability of exploitation in 30 days · percentile 89
- Auth required
- No
- Published
- Oct 27, 2020
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
What happens
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.
What to do
- Apply the vendor's security update for Npm-user-validate.
- 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 | npm-user-validate |
< 1.0.1 |
1.0.1 |
npm install npm-user-validate@1.0.1 |
| npm | npm-user-validate |
< 1.0.1 |
1.0.1 |
npm install npm-user-validate@1.0.1 |
Per OSV / GitHub Advisories (GHSA-pw54-mh39-w3hc, GHSA-xgh6-85xh-479p). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| npmjs | npm-user-validate | < 1.0.1 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch Third Party Advisory
- github.com Third Party Advisory
- snyk.io Exploit Third Party Advisory
- snyk.io Exploit Third Party Advisory