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

Fri, 18 Sep 2026 00:15:00 +0000

Type Values Removed Values Added
References
Metrics threat_severity

None

threat_severity

Moderate


Thu, 17 Sep 2026 20:30:00 +0000

Type Values Removed Values Added
First Time appeared Pycontribs
Pycontribs ansi2html
Vendors & Products Pycontribs
Pycontribs ansi2html

Thu, 17 Sep 2026 16:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Thu, 17 Sep 2026 14:00:00 +0000

Type Values Removed Values Added
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.
Title ansi2html 1.7.0a0 through 1.9.3 Cross-Site Scripting via OSC 8
First Time appeared Ansi2html Project
Ansi2html Project ansi2html
Weaknesses CWE-79
CPEs cpe:2.3:a:ansi2html_project:ansi2html:*:*:*:*:*:*:*:*
Vendors & Products Ansi2html Project
Ansi2html Project ansi2html
References
Metrics cvssV3_1

{'score': 6.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N'}

cvssV4_0

{'score': 5.3, 'vector': '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'}


cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published: 2026-09-17T13:43:17.365Z

Updated: 2026-09-17T15:38:41.098Z

Reserved: 2026-09-17T13:24:03.383Z

Link: CVE-2026-92973

cve-icon Vulnrichment

Updated: 2026-09-17T15:38:36.924Z

cve-icon NVD

Status : Deferred

Published: 2026-09-17T14:18:03.507

Modified: 2026-09-23T17:17:44.907

Link: CVE-2026-92973

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-09-17T13:43:17Z

Links: CVE-2026-92973 - Bugzilla