Staging Environment: Content and features may be unstable or change without notice.
Search for packages
Package details: pkg:npm/validator@3.22.1
purl pkg:npm/validator@3.22.1
Next non-vulnerable version 13.15.22
Latest non-vulnerable version 13.15.22
Risk 4.0
Vulnerabilities affecting this package (3)
Vulnerability Summary Fixed by
VCID-4p6m-2sx4-c3bd
Aliases:
CVE-2021-3765
GHSA-qgmg-gppg-76g5
13.7.0
Affected by 2 other vulnerabilities.
VCID-rcz8-m4t1-97ct
Aliases:
CVE-2025-12758
GHSA-vghf-hv5q-vc2g
Versions of the package validator before 13.15.22 are vulnerable to Incomplete Filtering of One or More Instances of Special Elements in the isLength() function that does not take into account Unicode variation selectors (\uFE0F, \uFE0E) appearing in a sequence which lead to improper string length calculation. This can lead to an application using isLength for input validation accepting strings significantly longer than intended, resulting in issues like data truncation in databases, buffer overflows in other system components, or denial-of-service.
13.15.22
Affected by 0 other vulnerabilities.
VCID-vmxk-yu12-wbfb
Aliases:
CVE-2025-56200
GHSA-9965-vmph-33xx
A URL validation bypass vulnerability exists in validator.js through version 13.15.15. The isURL() function uses '://' as a delimiter to parse protocols, while browsers use ':' as the delimiter. This parsing difference allows attackers to bypass protocol and domain validation by crafting URLs leading to XSS and Open Redirect attacks.
13.15.20
Affected by 1 other vulnerability.
Vulnerabilities fixed by this package (2)
Vulnerability Summary Aliases
VCID-bsgc-ffwu-qugd Regular Expression Denial of Service in validator CVE-2014-8882
GHSA-f5w6-r7rg-mcgq
GMS-2020-793
VCID-h8xn-3sg3-muf8 The validator module is vulnerable to Regular Expression Denial of Service (ReDoS) in the isURL method. GMS-2014-24

Date Actor Action Vulnerability Source VulnerableCode Version
2026-06-13T15:07:51.357048+00:00 GitLab Importer Fixing VCID-bsgc-ffwu-qugd https://gitlab.com/gitlab-org/advisories-community/-/blob/main/npm/validator/GMS-2020-793.yml 38.6.0
2026-06-12T20:37:03.473312+00:00 GitLab Importer Affected by VCID-rcz8-m4t1-97ct https://gitlab.com/gitlab-org/advisories-community/-/blob/main/npm/validator/CVE-2025-12758.yml 38.6.0
2026-06-12T20:22:27.644886+00:00 GitLab Importer Affected by VCID-vmxk-yu12-wbfb https://gitlab.com/gitlab-org/advisories-community/-/blob/main/npm/validator/CVE-2025-56200.yml 38.6.0
2026-06-12T17:50:11.682593+00:00 GitLab Importer Affected by VCID-4p6m-2sx4-c3bd https://gitlab.com/gitlab-org/advisories-community/-/blob/main/npm/validator/CVE-2021-3765.yml 38.6.0
2026-06-12T15:39:10.680578+00:00 GitLab Importer Fixing VCID-h8xn-3sg3-muf8 https://gitlab.com/gitlab-org/advisories-community/-/blob/main/npm/validator/GMS-2014-24.yml 38.6.0
2026-06-12T08:01:55.287982+00:00 GithubOSV Importer Fixing VCID-bsgc-ffwu-qugd https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2020/08/GHSA-f5w6-r7rg-mcgq/GHSA-f5w6-r7rg-mcgq.json 38.6.0
2026-06-12T07:19:02.097364+00:00 Npm Importer Fixing VCID-bsgc-ffwu-qugd https://github.com/nodejs/security-wg/blob/main/vuln/npm/42.json 38.6.0
2026-06-11T20:26:27.601568+00:00 GHSA Importer Fixing VCID-bsgc-ffwu-qugd https://github.com/advisories/GHSA-f5w6-r7rg-mcgq 38.6.0