Cross-site Scripting (XSS) Affecting python-ansi2html package, versions <1.9.5-1


Severity

Recommended
0.0
medium
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.25% (18th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-DEBIANUNSTABLE-PYTHONANSI2HTML-19920563
  • published18 Sept 2026
  • disclosed17 Sept 2026

Introduced: 17 Sep 2026

CVE-2026-92973  (opens in a new tab)
CWE-79  (opens in a new tab)

How to fix?

Upgrade Debian:unstable python-ansi2html to version 1.9.5-1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream python-ansi2html package and not the python-ansi2html package as distributed by Debian. See How to fix? for Debian:unstable relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1