Skip to main content

Ansi2Html

1 CVEs product

Monthly

CVE-2026-92973 Sep 17, 13:43 MEDIUM PATCH This Month

Cross-site scripting in ansi2html 1.7.0a0 through 1.9.3 allows an attacker who controls ANSI text input to inject javascript: URL targets or to terminate the generated href attribute inside OSC 8 hyperlink sequences, causing arbitrary script execution in the browser context of any page that displays the converted HTML. Exploitation is indirect: the library itself must be embedded in a downstream rendering pipeline that converts attacker-supplied terminal output and serves the result to a victim without further output sanitization, and the payload only fires with user interaction on that page (UI:P / UI:R). This is a moderate-severity, real-but-not-urgent web vulnerability; unauthenticated remote attackers can supply the malicious ANSI text, no public exploit identified at time of analysis, no CISA KEV listing, and an upstream fix commit is available though a tagged patched release was not independently confirmed from the supplied data.

XSS Python Ansi2Html
NVD GitHub
CVSS 4.0
5.3
EPSS
0.2%
EPSS 0% CVSS 5.3
MEDIUM PATCH This Month

Cross-site scripting in ansi2html 1.7.0a0 through 1.9.3 allows an attacker who controls ANSI text input to inject javascript: URL targets or to terminate the generated href attribute inside OSC 8 hyperlink sequences, causing arbitrary script execution in the browser context of any page that displays the converted HTML. Exploitation is indirect: the library itself must be embedded in a downstream rendering pipeline that converts attacker-supplied terminal output and serves the result to a victim without further output sanitization, and the payload only fires with user interaction on that page (UI:P / UI:R). This is a moderate-severity, real-but-not-urgent web vulnerability; unauthenticated remote attackers can supply the malicious ANSI text, no public exploit identified at time of analysis, no CISA KEV listing, and an upstream fix commit is available though a tagged patched release was not independently confirmed from the supplied data.

XSS Python Ansi2Html
NVD GitHub

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy