High
Security advisory
validator.js is vulnerable to Inefficient Regular Expression Complexity
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2021-3765
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 11:19 UTC · Revision 1
Source evidence
validator.js is vulnerable to Inefficient Regular Expression Complexity
osv:CVE-2021-3765
Complete source record
{
"id": "f0ea5bc38a68537527e01ffa7b7b983396271f688e596819543410a0298d76e7",
"url": "https://osv.dev/vulnerability/CVE-2021-3765",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2021-3765",
"summary": "validator.js is vulnerable to Inefficient Regular Expression Complexity",
"evidence": "osv:CVE-2021-3765",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2021-3765",
"aliases": [
"CVE-2021-3765",
"GHSA-qgmg-gppg-76g5"
],
"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/validatorjs/validator.js",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "47ee5ad64cf5c684c841b59110af4e221b74945c"
},
{
"fixed": "496fc8b2a7f5997acaaec33cc44d0b8dba5fb5e1"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:validator_project:validator:*:*:*:*:*:node.js:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "13.7.0"
}
],
"source": "CPE_RANGE"
},
{
"range": [
{
"fixed": "496fc8b2a7f5997acaaec33cc44d0b8dba5fb5e1"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
}
],
"versions": [
"13.6.1",
"13.6.0",
"13.5.0",
"v13.1.17",
"13.1.1",
"13.1.0",
"13.0.0",
"12.2.0",
"12.1.0",
"12.0.0",
"11.1.0",
"11.0.0",
"10.11.0",
"10.10.0",
"10.9.0",
"10.8.0",
"10.7.1",
"10.7.0",
"10.6.0",
"10.5.0",
"10.4.0",
"10.3.0",
"10.2.0",
"10.1.0",
"10.0.0",
"9.4.1",
"9.4.0",
"9.3.0",
"9.2.0",
"9.1.2",
"9.1.1",
"9.1.0",
"9.0.0",
"8.2.0",
"8.1.0",
"8.0.0",
"7.2.0",
"7.1.0",
"7.0.0",
"6.3.0",
"6.2.1",
"6.2.0",
"6.1.0",
"6.0.0",
"5.7.0",
"5.6.0",
"5.5.0",
"5.4.0",
"5.3.0",
"5.2.0",
"5.1.0",
"5.0.0",
"4.9.0",
"4.8.0",
"4.7.1",
"4.7.0",
"4.6.1",
"4.6.0",
"4.5.2",
"4.5.1",
"4.5.0",
"4.4.1",
"4.4.0",
"4.3.0",
"4.2.0",
"4.1.0",
"4.0.6",
"4.0.5",
"4.0.4",
"4.0.3",
"4.0.2",
"4.0.1",
"4.0.0",
"3.42.0",
"3.40.1",
"3.41.3",
"3.41.2",
"3.41.1",
"3.41.0",
"3.40.0",
"3.39.0",
"3.38.0",
"3.37.0",
"3.36.0",
"3.35.0",
"3.34.0",
"3.33.0",
"3.32.0",
"3.31.0",
"3.30.0",
"3.29.0",
"3.28.0",
"3.27.0",
"3.26.0",
"3.25.0",
"3.24.0",
"3.23.0",
"3.22.2",
"3.22.1",
"3.22.0",
"3.21.0",
"3.20.0",
"3.19.1",
"3.19.0",
"3.18.1",
"3.18.0",
"3.17.2",
"3.17.1",
"3.17.0",
"3.16.2",
"3.16.1",
"3.16.0",
"3.15.0",
"3.14.1",
"3.14.0",
"3.13.0",
"3.12.0",
"3.11.2",
"3.11.1",
"3.11.0",
"3.10.0",
"3.9.0",
"3.8.0",
"3.7.0",
"3.6.0",
"3.5.1",
"3.5.0",
"3.4.0",
"3.3.0",
"3.2.1",
"3.2.0",
"3.1.0",
"3.0.0",
"2.1.0",
"2.0.0",
"1.5.1",
"1.5.0",
"1.4.0",
"1.3.0",
"1.2.2",
"1.2.1",
"1.2.0",
"1.1.2",
"1.1.0",
"1.0.0",
"0.5.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-3765.json"
}
}
],
"modified": "2026-10-20T10:53:51.969362577Z",
"provider": "osv",
"references": [
"https://github.com/validatorjs/validator.js/commit/496fc8b2a7f5997acaaec33cc44d0b8dba5fb5e1",
"https://huntr.dev/bounties/c37e975c-21a3-4c5f-9b57-04d63b28cfc9"
],
"provider_metadata": {}
},
"related_cves": [
{
"value": "CVE-2021-3765",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 384705,
"published_at": "2021-11-02T07:15:07.28+00:00"
}