{"id":"CVE-2026-92973","title":"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","summary":"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 termi…","severity":"medium","cvss":6.1,"cvssVector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","cwe":["CWE-79"],"vendor":"pycontribs","product":"ansi2html","affected":["ansi2html >= 1.7.0a0 < 1.9.4"],"published":"2026-09-17","updated":"2026-09-23","sourceUpdated":"2026-09-23T17:17:44.907","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-92973","references":[{"url":"https://github.com/pycontribs/ansi2html","label":"disclosure@vulncheck.com"},{"url":"https://github.com/pycontribs/ansi2html/blob/v1.9.3/src/ansi2html/converter.py#L345-L349","label":"disclosure@vulncheck.com"},{"url":"https://github.com/pycontribs/ansi2html/commit/89d1c231c60ac52005f3b21bbba551c786c554fc","label":"disclosure@vulncheck.com"},{"url":"https://www.vulncheck.com/advisories/ansi2html-1.7-0a0-through-1.9.3-cross-site-scripting-via-osc-8","label":"disclosure@vulncheck.com"},{"url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-92973.json"},{"url":"https://access.redhat.com/security/cve/CVE-2026-92973"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-92973"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-92973"},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2536059"}],"tags":["nvd","cve.org","csaf","vex","red-hat"],"epss":0.00225,"epssPercentile":0.13455,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-09-17T15:38:31.834465Z"},"ingestedAt":"2026-09-17T14:19:30.994Z","slug":"CVE-2026-92973","body":"## Overview\n\nansi2html 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.\n\n## Remediation\n\nRefer to the linked advisories for vendor-supplied fixes and affected version ranges.\n\n## Vendor advisories\n\n- **Red Hat VEX** · Moderate · affected: Red Hat Ansible Automation Platform 2 · no fix planned: Red Hat Ansible Automation Platform 2 · updated 2026-09-18 · [vex](https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-92973.json)","depth":"sunlit","depthScore":34,"depthScoreParts":{"impact":33.6,"likelihood":0,"exploitation":0,"ransomware":0},"changes":[]}