Vulnerability · Published Sep 17, 2026 · Assigned by VulnCheck

CVE-2026-92973ansi2html 1.7.0a0 through 1.9.3 Cross-Site Scripting via OSC 8

Medium 6.1

In plain English

A medium-severity cross-site scripting in ansi2html from pycontribs. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 34% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)6.1Medium
Exploit odds (30 days)0.4%top 66.4% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:14python-ansi2html1.9.5-1DEBIAN-CVE-2026-92973
Ubuntu:26.04:LTSpython-ansi2htmlno fix listedUBUNTU-CVE-2026-92973
Ubuntu:26.10python-ansi2htmlno fix listedUBUNTU-CVE-2026-92973

Affected products (as reported)

VendorProductVersions
pycontribs ansi2html 1.7.0a0 – before 1.9.4

Weakness: CWE-79 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

References