CVE-2026-144581

Source
https://cve.org/CVERecord?id=CVE-2026-144581
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-144581.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-144581
Published
2026-12-04T01:09:01Z
Modified
2026-12-04T03:00:14Z
Severity
  • 2.3 (Low) CVSS_V4 - 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 CVSS Calculator
Summary
validator.js 13.15.22 through 13.15.35 isURL Protocols Allowlist Bypass via javascript: URL
Details

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.

Database specific
{
    "cna_assigner":  "VulnCheck",
    "cwe_ids":  [
        "CWE-79"
    ],
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/144xxx/CVE-2026-144581.json"
}
References

Affected packages

Git / github.com/validatorjs/validator.js

Affected ranges

Type
GIT
Repo
https://github.com/validatorjs/validator.js
Events
Database specific
Show details
{
    "extracted_events":  [
        {
            "range":  [
                {
                    "introduced":  "13.15.22"
                },
                {
                    "last_affected":  "13.15.35"
                }
            ],
            "source":  "AFFECTED_FIELD",
            "strategy":  "StandardRange"
        }
    ]
}

Affected versions

13.*
13.15.22
13.15.23
13.15.26
13.15.35

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-144581.json"