XSS in Pycontribs Ansi2html
CVE-2026-92973
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 class: XSS (Cross-Site Scripting)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.1 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N.
EPSS exploit prediction
EPSS: 0.004 (33.5th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 33rd percentile — 33.5% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.004 · newest: 0.004 · change: 0.000
Affected products
Weakness classification (CWE)
References
- github.com/pycontribs/ansi2html/commit/89d1c231c60ac52005f3b21bbba551c786c554fc (patch)
- github.com/pycontribs/ansi2html/blob/v1.9.3/src/ansi2html/converter.py (technical-description)
- github.com/pycontribs/ansi2html (product)
- www.vulncheck.com/advisories/ansi2html-1.7-0a0-through-1.9.3-cross-site-scripti… (third-party-advisory)
Frequently asked questions
- What is CVE-2026-92973?
- CVE-2026-92973 is a medium-severity vulnerability in Pycontribs Ansi2html, classified under Cross-site Scripting. CVSS score: 6.1/10. Published 2026-09-17.
- How severe is CVE-2026-92973?
- Medium severity. CVSS v3 base score is 6.1 out of 10.