{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "13.15.22"
                  },
                  {
                    "last_affected": "13.15.35"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              }
            ]
          },
          "events": [
            {
              "introduced": "f2b5c17dbe03f2ca9ad9122c597f81e86ce1a9a1"
            },
            {
              "last_affected": "7a8079709cd4cb27b2a1846e6f6508d68c9d928f"
            }
          ],
          "repo": "https://github.com/validatorjs/validator.js",
          "type": "GIT"
        }
      ]
    }
  ],
  "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"
  },
  "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.",
  "id": "CVE-2026-144581",
  "modified": "2026-12-04T02:45:52.096106029Z",
  "published": "2026-12-04T01:09:01.357Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/144xxx/CVE-2026-144581.json"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/validatorjs/validator.js"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/validatorjs/validator.js/blob/13.15.35/src/lib/isURL.js#L150-L170"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/validatorjs/validator.js/blob/13.15.35/src/lib/isURL.js#L230-L258"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-144581"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/validator-js-13.15.22-through-13.15.35-isurl-protocols-allowlist-bypass-via-javascript-url"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "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",
      "type": "CVSS_V4"
    }
  ],
  "summary": "validator.js 13.15.22 through 13.15.35 isURL Protocols Allowlist Bypass via javascript: URL"
}