Live threats

All CVEs / Npmjs

CVE-2020-7754Npmjs Npm-user-validate

High 7.5 No auth needed

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Npm-user-validate.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow 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)

VendorProductVersions
npmjsnpm-user-validate< 1.0.1

Official sources

References

Links published by the sources. Open them with care.