# CVE-2026-92973: ansi2html 1.7.0a0 through 1.9.3 Cross-Site Scripting via OSC 8

- Severity: Medium 5.3 (CVSS:4.0, scored by VulnCheck) `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.25%, higher than 17% of CVEs (2026-12-01)
- Published: 2026-09-17T13:43:17.365Z
- Modified: 2026-09-23T17:17:44.907Z
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: VulnCheck

## 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.

(As written by CVE List.)

## Affected

- pycontribs ansi2html: from 1.7.0a0 before 1.9.4

## Every score

- VulnCheck: CVSS:4.0 5.3 Medium `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N`
- VulnCheck: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`

## References

- <https://github.com/pycontribs/ansi2html/commit/89d1c231c60ac52005f3b21bbba551c786c554fc> (patch)
- <https://github.com/pycontribs/ansi2html/blob/v1.9.3/src/ansi2html/converter.py#L345-L349> (technical-description)
- <https://github.com/pycontribs/ansi2html> (product)
- <https://www.vulncheck.com/advisories/ansi2html-1.7-0a0-through-1.9.3-cross-site-scripting-via-osc-8> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-92973](https://www.cve.org/CVERecord?id=CVE-2026-92973), CVE Terms of Use, modified 2026-09-17
- NVD: [CVE-2026-92973](https://nvd.nist.gov/vuln/detail/CVE-2026-92973), Public domain, modified 2026-09-23

---

Page: https://cve.day/CVE-2026-92973 · Whole record: https://cve.day/CVE-2026-92973.json · Rebuilt by cve.day 2026-11-25T22:59:39.258Z
