CVE-2026-92973 ansi2html 1.7.0a0 through 1.9.3 Cross-Site Scripting via OSC 8
MediumCVSS 5.3
EPSS 0.39%
- Published
- Updated
- Exploit status
- No public exploit known
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 products
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi ansi2html | >= 1.7.0a0, < 1.9.4 | 1.9.4 |
| redhat/ansible-automation-platform-27/controller-rhel9(Red Hat:ansible_automation_platform:2) | All versions | No fix listed |
| debian/python-ansi2html(Debian:14) | < 1.9.5-1 | 1.9.5-1 |
| debian/python-ansi2html(Debian:14) | = 1.9.2-1 | No fix listed |
| debian/python-ansi2html(Debian:14) | = 1.9.2-2 | No fix listed |
| ubuntu/python-ansi2html(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/python-ansi2html(Ubuntu:26.10) | All versions | No fix listed |
References
- Patch Commit patch
- github.com technical-description
- github.com product
- VulnCheck Advisory: ansi2html 1.7.0a0 through 1.9.3 Cross-Site Scripting via OSC 8 third-party-advisory
- Red Hat CVE page mitigation vendor-advisory
- Red Hat Bugzilla 2536059 issue-tracking
- www.cve.org
- nvd.nist.gov
- Debian Security Tracker CVE-2026-92973 vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- bugs.debian.org issue-tracking