{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "1.7.0a0"
              },
              {
                "fixed": "1.9.4"
              }
            ],
            "source": "AFFECTED_FIELD"
          },
          "events": [
            {
              "introduced": "01d9635538251d54bf6c2d1ac153ad33b3fbbdd7"
            },
            {
              "fixed": "3dafdeee39fa502cf5ec40dca315ed8cff12877b"
            }
          ],
          "repo": "https://github.com/pycontribs/ansi2html",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-79"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/92xxx/CVE-2026-92973.json"
  },
  "details": "ansi2html versions 1.7.0a0 through 1.9.3 contain a cross-site scripting vulnerability in OSC 8 hyperlink handling that fails to validate or escape URL targets. Attackers controlling ANSI text input can inject javascript: schemes or terminate href attributes to execute arbitrary scripts in the context of pages displaying converted output.",
  "id": "CVE-2026-92973",
  "modified": "2026-09-19T03:30:24.333846631Z",
  "published": "2026-09-17T13:43:17.365Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/92xxx/CVE-2026-92973.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-92973"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/ansi2html-1.7-0a0-through-1.9.3-cross-site-scripting-via-osc-8"
    },
    {
      "type": "FIX",
      "url": "https://github.com/pycontribs/ansi2html/commit/89d1c231c60ac52005f3b21bbba551c786c554fc"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/pycontribs/ansi2html"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/pycontribs/ansi2html/blob/v1.9.3/src/ansi2html/converter.py#L345-L349"
    }
  ],
  "schema_version": "1.9.0",
  "severity": [
    {
      "score": "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",
      "type": "CVSS_V4"
    }
  ],
  "summary": "ansi2html 1.7.0a0 through 1.9.3 Cross-Site Scripting via OSC 8"
}