High
Security advisory
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2020-7754
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 11:30 UTC · Revision 1
Source evidence
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.
osv:CVE-2020-7754
Complete source record
{
"id": "87fa8b2daccc5801aa3fceadb8ccc419d38ed3159f5e9a83e305db910e1b9142",
"url": "https://osv.dev/vulnerability/CVE-2020-7754",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2020-7754",
"summary": "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.",
"evidence": "osv:CVE-2020-7754",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2020-7754",
"aliases": [
"CVE-2020-7754",
"GHSA-pw54-mh39-w3hc",
"GHSA-xgh6-85xh-479p"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/npm/npm-user-validate",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "5c5471ceee0d9f5249157f5ae10d65a5b92605c9"
},
{
"fixed": "c8a87dac1a4cc6988b5418f30411a8669bef204e"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:npmjs:npm-user-validate:*:*:*:*:*:node.js:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "1.0.1"
}
],
"source": "CPE_RANGE"
},
{
"range": [
{
"fixed": "c8a87dac1a4cc6988b5418f30411a8669bef204e"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
}
],
"versions": [
"v1.0.0",
"v0.1.5",
"v0.1.4",
"v0.1.3",
"v0.1.2",
"v0.1.1",
"v0.1.0",
"v0.0.4"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-7754.json"
}
}
],
"modified": "2026-10-20T10:54:24.550471471Z",
"provider": "osv",
"references": [
"https://github.com/npm/npm-user-validate/security/advisories/GHSA-xgh6-85xh-479p",
"https://github.com/npm/npm-user-validate/commit/c8a87dac1a4cc6988b5418f30411a8669bef204e",
"https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1019353",
"https://snyk.io/vuln/SNYK-JS-NPMUSERVALIDATE-1019352"
],
"provider_metadata": {}
},
"related_cves": [
{
"value": "CVE-2020-7754",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 385312,
"published_at": "2020-10-27T15:15:13.123+00:00"
}