ansi2html 1.7.0a0 through 1.9.3 Cross-Site Scripting via OSC 8
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Passive
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- Cross-site scripting
- Confidentiality · integrity · availability
- Low · Low · None
- Fix status
- Partial Red Hat: 1 without a fix
Attack profile from CVSS 4.0 · CNA. Fix status from CNA and Red Hat. Impact type from CWE-79.
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| pycontribs | ansi2html | 1.7.0a0 to before 1.9.4 | 1.9.4 | Patch available | CNA |
- ansi2html Vendorpycontribs Affected 1.7.0a0 to before 1.9.4 Fixed in 1.9.4 Patch available CNA
Remediation
- Fix · CNA ansi2html (pycontribs) Fixed in 1.9.4
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Ansible Automation Platform 2 | Affected | No fix yet: Fix deferred |
Timeline
- 2026-10-02 Threatist record created from CVE-2026-92973
- 2026-10-03 Alias added: GHSA-98hw-5x94-6hwv
References
Sources
- CVE-2026-92973 · CVE Program
- CVE-2026-92973 · NVD
- FIRST EPSS
- GHSA-98hw-5x94-6hwv · GitHub Advisory Database · CC BY 4.0
- CVE-2026-92973 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences