CVE-2026-92973
ansi2html 1.7.0a0 through 1.9.3 Cross-Site Scripting via OSC 8
Reported by vulncheck · Published September 17, 2026
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| ansi2html | pycontribs | 1.9.4 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| pycontribs | ansi2html | 1.7.0a0 |
| pycontribs | ansi2html | 1.7.0a0 |
| ansi2html_project | ansi2html | 1.7.0a0 |
Timeline
- Sep 17, 2026 CVE Published
- Sep 17, 2026 CVE Updated
- Sep 18, 2026 EPSS Score (24 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2026-92973
vulnetix vdb fixes CVE-2026-92973
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-92973/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- Patch Commit patch
- technical-description
- product
- VulnCheck Advisory: ansi2html 1.7.0a0 through 1.9.3 Cross-Site Scripting via OSC 8 third-party-advisory