{"id":"CVE-2026-92973","summary":"ansi2html 1.7.0a0 through 1.9.3 Cross-Site Scripting via OSC 8","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.","modified":"2026-09-19T03:47:30.675979805Z","published":"2026-09-17T13:43:17.365Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/92xxx/CVE-2026-92973.json","cna_assigner":"VulnCheck","cwe_ids":["CWE-79"]},"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"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/pycontribs/ansi2html","events":[{"introduced":"01d9635538251d54bf6c2d1ac153ad33b3fbbdd7"},{"fixed":"3dafdeee39fa502cf5ec40dca315ed8cff12877b"}],"database_specific":{"extracted_events":[{"introduced":"1.7.0a0"},{"fixed":"1.9.4"}],"source":"AFFECTED_FIELD"}}],"versions":["v1.9.3","v1.9.2","v1.9.1","v1.9.0rc1","1.8.0","1.7.0a0","1.7.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-92973.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","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"}]}