Search
Find a vulnerability
Search criteria
4 vulnerabilities found for validator.js by validatorjs
CVE-2026-144582 (GCVE-0-2026-144582)
Vulnerability from nvd – Published: 2026-12-04 01:09 – Updated: 2026-12-04 01:09
VLAI
EPSS
VEX
Title
validator.js through 13.15.35 isURL Host Whitelist Bypass via Backslash
Summary
validator.js through 13.15.35 contains a host validation bypass vulnerability in isURL() that allows attackers to evade host_whitelist and host_blacklist checks by inserting a backslash before an '@' in the authority. Attackers can supply URLs that isURL() parses as an allowed host while WHATWG-conformant parsers resolve them to an attacker-chosen host, enabling open redirects and outbound fetch allowlist bypasses.
Severity
6.1 (Medium)
CWE
- CWE-601 - URL Redirection to Untrusted Site ('Open Redirect')
Assigner
References
2 references
| URL | Tags |
|---|---|
| https://github.com/validatorjs/validator.js/blob/… | technical-description |
| https://www.vulncheck.com/advisories/validator-js… | third-party-advisory |
Impacted products
1 product
| Vendor | Product | Version | |
|---|---|---|---|
| validatorjs | validator.js |
Affected:
0 , ≤ 13.15.35
(semver)
|
{
"containers": {
"cna": {
"affected": [
{
"defaultStatus": "unaffected",
"packageURL": "pkg:npm/validator",
"product": "validator.js",
"repo": "https://github.com/validatorjs/validator.js",
"vendor": "validatorjs",
"versions": [
{
"lessThanOrEqual": "13.15.35",
"status": "affected",
"version": "0",
"versionType": "semver"
}
]
}
],
"credits": [
{
"lang": "en",
"type": "finder",
"value": "Zachariah Mithani (AploSec)"
}
],
"descriptions": [
{
"lang": "en",
"value": "validator.js through 13.15.35 contains a host validation bypass vulnerability in isURL() that allows attackers to evade host_whitelist and host_blacklist checks by inserting a backslash before an \u0027@\u0027 in the authority. Attackers can supply URLs that isURL() parses as an allowed host while WHATWG-conformant parsers resolve them to an attacker-chosen host, enabling open redirects and outbound fetch allowlist bypasses."
}
],
"metrics": [
{
"cvssV4_0": {
"attackComplexity": "LOW",
"attackRequirements": "NONE",
"attackVector": "NETWORK",
"baseScore": 5.3,
"baseSeverity": "MEDIUM",
"privilegesRequired": "NONE",
"subAvailabilityImpact": "NONE",
"subConfidentialityImpact": "LOW",
"subIntegrityImpact": "LOW",
"userInteraction": "PASSIVE",
"vectorString": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N",
"version": "4.0",
"vulnAvailabilityImpact": "NONE",
"vulnConfidentialityImpact": "LOW",
"vulnIntegrityImpact": "LOW"
},
"format": "CVSS"
},
{
"cvssV3_1": {
"attackComplexity": "LOW",
"attackVector": "NETWORK",
"availabilityImpact": "NONE",
"baseScore": 6.1,
"baseSeverity": "MEDIUM",
"confidentialityImpact": "LOW",
"integrityImpact": "LOW",
"privilegesRequired": "NONE",
"scope": "CHANGED",
"userInteraction": "REQUIRED",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N",
"version": "3.1"
},
"format": "CVSS"
}
],
"problemTypes": [
{
"descriptions": [
{
"cweId": "CWE-601",
"description": "URL Redirection to Untrusted Site (\u0027Open Redirect\u0027)",
"lang": "en",
"type": "CWE"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2026-12-04T01:09:00.139Z",
"orgId": "83251b91-4cc7-4094-a5c7-464a1b83ea10",
"shortName": "VulnCheck"
},
"references": [
{
"tags": [
"technical-description"
],
"url": "https://github.com/validatorjs/validator.js/blob/13.15.35/src/lib/isURL.js#L198-L249"
},
{
"name": "VulnCheck Advisory: validator.js through 13.15.35 isURL Host Whitelist Bypass via Backslash",
"tags": [
"third-party-advisory"
],
"url": "https://www.vulncheck.com/advisories/validator-js-through-13.15.35-isurl-host-whitelist-bypass-via-backslash"
}
],
"title": "validator.js through 13.15.35 isURL Host Whitelist Bypass via Backslash",
"x_generator": {
"engine": "vulncheck-endgame"
}
}
},
"cveMetadata": {
"assignerOrgId": "83251b91-4cc7-4094-a5c7-464a1b83ea10",
"assignerShortName": "VulnCheck",
"cveId": "CVE-2026-144582",
"datePublished": "2026-12-04T01:09:00.139Z",
"dateReserved": "2026-12-04T00:31:31.055Z",
"dateUpdated": "2026-12-04T01:09:00.139Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2"
}
CVE-2026-144581 (GCVE-0-2026-144581)
Vulnerability from nvd – Published: 2026-12-04 01:09 – Updated: 2026-12-04 01:09
VLAI
EPSS
VEX
Title
validator.js 13.15.22 through 13.15.35 isURL Protocols Allowlist Bypass via javascript: URL
Summary
validator.js 13.15.22 through 13.15.35 contains a protocols allowlist bypass in isURL() that misparses javascript: URLs as host and port pairs, skipping the cleanUpProtocol() check. Attackers can submit links like javascript:1/ followed by script to applications using require_tld: false, causing cross-site scripting when victims click the rendered href.
Severity
CWE
- CWE-79 - Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Assigner
References
3 references
| URL | Tags |
|---|---|
| https://github.com/validatorjs/validator.js/blob/… | technical-description |
| https://github.com/validatorjs/validator.js/blob/… | technical-description |
| https://www.vulncheck.com/advisories/validator-js… | third-party-advisory |
Impacted products
1 product
| Vendor | Product | Version | |
|---|---|---|---|
| validatorjs | validator.js |
Affected:
13.15.22 , ≤ 13.15.35
(semver)
|
{
"containers": {
"cna": {
"affected": [
{
"defaultStatus": "unaffected",
"packageURL": "pkg:npm/validator",
"product": "validator.js",
"repo": "https://github.com/validatorjs/validator.js",
"vendor": "validatorjs",
"versions": [
{
"lessThanOrEqual": "13.15.35",
"status": "affected",
"version": "13.15.22",
"versionType": "semver"
}
]
}
],
"credits": [
{
"lang": "en",
"type": "finder",
"value": "Zachariah Mithani (AploSec)"
}
],
"descriptions": [
{
"lang": "en",
"value": "validator.js 13.15.22 through 13.15.35 contains a protocols allowlist bypass in isURL() that misparses javascript: URLs as host and port pairs, skipping the cleanUpProtocol() check. Attackers can submit links like javascript:1/ followed by script to applications using require_tld: false, causing cross-site scripting when victims click the rendered href."
}
],
"metrics": [
{
"cvssV4_0": {
"attackComplexity": "HIGH",
"attackRequirements": "PRESENT",
"attackVector": "NETWORK",
"baseScore": 2.3,
"baseSeverity": "LOW",
"privilegesRequired": "NONE",
"subAvailabilityImpact": "NONE",
"subConfidentialityImpact": "LOW",
"subIntegrityImpact": "LOW",
"userInteraction": "PASSIVE",
"vectorString": "CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N",
"version": "4.0",
"vulnAvailabilityImpact": "NONE",
"vulnConfidentialityImpact": "LOW",
"vulnIntegrityImpact": "LOW"
},
"format": "CVSS"
},
{
"cvssV3_1": {
"attackComplexity": "HIGH",
"attackVector": "NETWORK",
"availabilityImpact": "NONE",
"baseScore": 4.7,
"baseSeverity": "MEDIUM",
"confidentialityImpact": "LOW",
"integrityImpact": "LOW",
"privilegesRequired": "NONE",
"scope": "CHANGED",
"userInteraction": "REQUIRED",
"vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N",
"version": "3.1"
},
"format": "CVSS"
}
],
"problemTypes": [
{
"descriptions": [
{
"cweId": "CWE-79",
"description": "Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)",
"lang": "en",
"type": "CWE"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2026-12-04T01:09:01.357Z",
"orgId": "83251b91-4cc7-4094-a5c7-464a1b83ea10",
"shortName": "VulnCheck"
},
"references": [
{
"tags": [
"technical-description"
],
"url": "https://github.com/validatorjs/validator.js/blob/13.15.35/src/lib/isURL.js#L150-L170"
},
{
"tags": [
"technical-description"
],
"url": "https://github.com/validatorjs/validator.js/blob/13.15.35/src/lib/isURL.js#L230-L258"
},
{
"name": "VulnCheck Advisory: validator.js 13.15.22 through 13.15.35 isURL Protocols Allowlist Bypass via javascript: URL",
"tags": [
"third-party-advisory"
],
"url": "https://www.vulncheck.com/advisories/validator-js-13.15.22-through-13.15.35-isurl-protocols-allowlist-bypass-via-javascript-url"
}
],
"title": "validator.js 13.15.22 through 13.15.35 isURL Protocols Allowlist Bypass via javascript: URL",
"x_generator": {
"engine": "vulncheck-endgame"
}
}
},
"cveMetadata": {
"assignerOrgId": "83251b91-4cc7-4094-a5c7-464a1b83ea10",
"assignerShortName": "VulnCheck",
"cveId": "CVE-2026-144581",
"datePublished": "2026-12-04T01:09:01.357Z",
"dateReserved": "2026-12-04T00:31:30.707Z",
"dateUpdated": "2026-12-04T01:09:01.357Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2"
}
CVE-2026-144581 (GCVE-0-2026-144581)
Vulnerability from cvelistv5 – Published: 2026-12-04 01:09 – Updated: 2026-12-04 01:09
VLAI
EPSS
VEX
Title
validator.js 13.15.22 through 13.15.35 isURL Protocols Allowlist Bypass via javascript: URL
Summary
validator.js 13.15.22 through 13.15.35 contains a protocols allowlist bypass in isURL() that misparses javascript: URLs as host and port pairs, skipping the cleanUpProtocol() check. Attackers can submit links like javascript:1/ followed by script to applications using require_tld: false, causing cross-site scripting when victims click the rendered href.
Severity
CWE
- CWE-79 - Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Assigner
References
3 references
| URL | Tags |
|---|---|
| https://github.com/validatorjs/validator.js/blob/… | technical-description |
| https://github.com/validatorjs/validator.js/blob/… | technical-description |
| https://www.vulncheck.com/advisories/validator-js… | third-party-advisory |
Impacted products
1 product
| Vendor | Product | Version | |
|---|---|---|---|
| validatorjs | validator.js |
Affected:
13.15.22 , ≤ 13.15.35
(semver)
|
{
"containers": {
"cna": {
"affected": [
{
"defaultStatus": "unaffected",
"packageURL": "pkg:npm/validator",
"product": "validator.js",
"repo": "https://github.com/validatorjs/validator.js",
"vendor": "validatorjs",
"versions": [
{
"lessThanOrEqual": "13.15.35",
"status": "affected",
"version": "13.15.22",
"versionType": "semver"
}
]
}
],
"credits": [
{
"lang": "en",
"type": "finder",
"value": "Zachariah Mithani (AploSec)"
}
],
"descriptions": [
{
"lang": "en",
"value": "validator.js 13.15.22 through 13.15.35 contains a protocols allowlist bypass in isURL() that misparses javascript: URLs as host and port pairs, skipping the cleanUpProtocol() check. Attackers can submit links like javascript:1/ followed by script to applications using require_tld: false, causing cross-site scripting when victims click the rendered href."
}
],
"metrics": [
{
"cvssV4_0": {
"attackComplexity": "HIGH",
"attackRequirements": "PRESENT",
"attackVector": "NETWORK",
"baseScore": 2.3,
"baseSeverity": "LOW",
"privilegesRequired": "NONE",
"subAvailabilityImpact": "NONE",
"subConfidentialityImpact": "LOW",
"subIntegrityImpact": "LOW",
"userInteraction": "PASSIVE",
"vectorString": "CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N",
"version": "4.0",
"vulnAvailabilityImpact": "NONE",
"vulnConfidentialityImpact": "LOW",
"vulnIntegrityImpact": "LOW"
},
"format": "CVSS"
},
{
"cvssV3_1": {
"attackComplexity": "HIGH",
"attackVector": "NETWORK",
"availabilityImpact": "NONE",
"baseScore": 4.7,
"baseSeverity": "MEDIUM",
"confidentialityImpact": "LOW",
"integrityImpact": "LOW",
"privilegesRequired": "NONE",
"scope": "CHANGED",
"userInteraction": "REQUIRED",
"vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N",
"version": "3.1"
},
"format": "CVSS"
}
],
"problemTypes": [
{
"descriptions": [
{
"cweId": "CWE-79",
"description": "Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)",
"lang": "en",
"type": "CWE"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2026-12-04T01:09:01.357Z",
"orgId": "83251b91-4cc7-4094-a5c7-464a1b83ea10",
"shortName": "VulnCheck"
},
"references": [
{
"tags": [
"technical-description"
],
"url": "https://github.com/validatorjs/validator.js/blob/13.15.35/src/lib/isURL.js#L150-L170"
},
{
"tags": [
"technical-description"
],
"url": "https://github.com/validatorjs/validator.js/blob/13.15.35/src/lib/isURL.js#L230-L258"
},
{
"name": "VulnCheck Advisory: validator.js 13.15.22 through 13.15.35 isURL Protocols Allowlist Bypass via javascript: URL",
"tags": [
"third-party-advisory"
],
"url": "https://www.vulncheck.com/advisories/validator-js-13.15.22-through-13.15.35-isurl-protocols-allowlist-bypass-via-javascript-url"
}
],
"title": "validator.js 13.15.22 through 13.15.35 isURL Protocols Allowlist Bypass via javascript: URL",
"x_generator": {
"engine": "vulncheck-endgame"
}
}
},
"cveMetadata": {
"assignerOrgId": "83251b91-4cc7-4094-a5c7-464a1b83ea10",
"assignerShortName": "VulnCheck",
"cveId": "CVE-2026-144581",
"datePublished": "2026-12-04T01:09:01.357Z",
"dateReserved": "2026-12-04T00:31:30.707Z",
"dateUpdated": "2026-12-04T01:09:01.357Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2"
}
CVE-2026-144582 (GCVE-0-2026-144582)
Vulnerability from cvelistv5 – Published: 2026-12-04 01:09 – Updated: 2026-12-04 01:09
VLAI
EPSS
VEX
Title
validator.js through 13.15.35 isURL Host Whitelist Bypass via Backslash
Summary
validator.js through 13.15.35 contains a host validation bypass vulnerability in isURL() that allows attackers to evade host_whitelist and host_blacklist checks by inserting a backslash before an '@' in the authority. Attackers can supply URLs that isURL() parses as an allowed host while WHATWG-conformant parsers resolve them to an attacker-chosen host, enabling open redirects and outbound fetch allowlist bypasses.
Severity
6.1 (Medium)
CWE
- CWE-601 - URL Redirection to Untrusted Site ('Open Redirect')
Assigner
References
2 references
| URL | Tags |
|---|---|
| https://github.com/validatorjs/validator.js/blob/… | technical-description |
| https://www.vulncheck.com/advisories/validator-js… | third-party-advisory |
Impacted products
1 product
| Vendor | Product | Version | |
|---|---|---|---|
| validatorjs | validator.js |
Affected:
0 , ≤ 13.15.35
(semver)
|
{
"containers": {
"cna": {
"affected": [
{
"defaultStatus": "unaffected",
"packageURL": "pkg:npm/validator",
"product": "validator.js",
"repo": "https://github.com/validatorjs/validator.js",
"vendor": "validatorjs",
"versions": [
{
"lessThanOrEqual": "13.15.35",
"status": "affected",
"version": "0",
"versionType": "semver"
}
]
}
],
"credits": [
{
"lang": "en",
"type": "finder",
"value": "Zachariah Mithani (AploSec)"
}
],
"descriptions": [
{
"lang": "en",
"value": "validator.js through 13.15.35 contains a host validation bypass vulnerability in isURL() that allows attackers to evade host_whitelist and host_blacklist checks by inserting a backslash before an \u0027@\u0027 in the authority. Attackers can supply URLs that isURL() parses as an allowed host while WHATWG-conformant parsers resolve them to an attacker-chosen host, enabling open redirects and outbound fetch allowlist bypasses."
}
],
"metrics": [
{
"cvssV4_0": {
"attackComplexity": "LOW",
"attackRequirements": "NONE",
"attackVector": "NETWORK",
"baseScore": 5.3,
"baseSeverity": "MEDIUM",
"privilegesRequired": "NONE",
"subAvailabilityImpact": "NONE",
"subConfidentialityImpact": "LOW",
"subIntegrityImpact": "LOW",
"userInteraction": "PASSIVE",
"vectorString": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N",
"version": "4.0",
"vulnAvailabilityImpact": "NONE",
"vulnConfidentialityImpact": "LOW",
"vulnIntegrityImpact": "LOW"
},
"format": "CVSS"
},
{
"cvssV3_1": {
"attackComplexity": "LOW",
"attackVector": "NETWORK",
"availabilityImpact": "NONE",
"baseScore": 6.1,
"baseSeverity": "MEDIUM",
"confidentialityImpact": "LOW",
"integrityImpact": "LOW",
"privilegesRequired": "NONE",
"scope": "CHANGED",
"userInteraction": "REQUIRED",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N",
"version": "3.1"
},
"format": "CVSS"
}
],
"problemTypes": [
{
"descriptions": [
{
"cweId": "CWE-601",
"description": "URL Redirection to Untrusted Site (\u0027Open Redirect\u0027)",
"lang": "en",
"type": "CWE"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2026-12-04T01:09:00.139Z",
"orgId": "83251b91-4cc7-4094-a5c7-464a1b83ea10",
"shortName": "VulnCheck"
},
"references": [
{
"tags": [
"technical-description"
],
"url": "https://github.com/validatorjs/validator.js/blob/13.15.35/src/lib/isURL.js#L198-L249"
},
{
"name": "VulnCheck Advisory: validator.js through 13.15.35 isURL Host Whitelist Bypass via Backslash",
"tags": [
"third-party-advisory"
],
"url": "https://www.vulncheck.com/advisories/validator-js-through-13.15.35-isurl-host-whitelist-bypass-via-backslash"
}
],
"title": "validator.js through 13.15.35 isURL Host Whitelist Bypass via Backslash",
"x_generator": {
"engine": "vulncheck-endgame"
}
}
},
"cveMetadata": {
"assignerOrgId": "83251b91-4cc7-4094-a5c7-464a1b83ea10",
"assignerShortName": "VulnCheck",
"cveId": "CVE-2026-144582",
"datePublished": "2026-12-04T01:09:00.139Z",
"dateReserved": "2026-12-04T00:31:31.055Z",
"dateUpdated": "2026-12-04T01:09:00.139Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2"
}