CVE Catalog

CVE-2026-92973

MediumCVSS 6.1
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.23%

13th percentile - higher than 13% of all known CVEs

Summary

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.

Risk Assessment

An attacker can execute arbitrary JavaScript in the browser of a user viewing converted ANSI text, potentially leading to session theft or other actions in the site's context. The risk affects applications displaying untrusted ANSI data.

Recommendation

Upgrade ansi2html to a version later than 1.9.3 that contains the fix. Until patched, avoid displaying untrusted ANSI data or apply additional filtering.

Related vulnerabilities

Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS