Skip to main content
CVE-2026-92973VulnerabilityPublished Updated

Python ansi2html: ansi2html versions 1.7.0a0 through 1.9.3 contain a cross-site scripting vulnerability in OSC 8

Affects python-ansi2htmlSource GCVE Database

0
Authoritative record:CVE-2026-92973· Medium 5.3

Not known to be exploited · CVSS 5.3 Medium.

Data as of 28 Oct 2026, 22:28 UTC

CVSS 4.0 base score
5.3Medium
How severe the flaw is on the 0–10 CVSS scale.
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

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 17 Sep 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.

What to do

Affected software

ProductAffectedFixed in
Ubuntu 26.10python-ansi2htmlpkg:deb/ubuntu/python-ansi2html?arch=source&distro=stonkingOther threatsAffected
  • =1.9.2-2
Fixed in–
Ubuntu 26.04 LTSpython-ansi2htmlpkg:deb/ubuntu/python-ansi2html?arch=source&distro=resoluteOther threatsAffected
  • =1.9.2-1
  • =1.9.2-2
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

Description

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.

References

Community reviews

Loading reviews…