CVE-2026-92973
published medium CVSS 4.0 · 5.3ansi2html 1.7.0a0 through 1.9.3 Cross-Site Scripting via OSC 8
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| pycontribs | — | ansi2html1.7.0a0 to < 1.9.4 · Other versions: unaffected | Affected | Not stated | VulnCheck |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-ansi2htmlaarch64 | Advisory build | 1.9.5-1.1 | OPENSUSE-SU-2026:11815-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-ansi2htmlppc64le | Advisory build | 1.9.5-1.1 | OPENSUSE-SU-2026:11815-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-ansi2htmls390x | Advisory build | 1.9.5-1.1 | OPENSUSE-SU-2026:11815-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-ansi2htmlx86_64 | Advisory build | 1.9.5-1.1 | OPENSUSE-SU-2026:11815-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-ansi2htmlaarch64 | Advisory build | 1.9.5-1.1 | OPENSUSE-SU-2026:11815-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-ansi2htmlppc64le | Advisory build | 1.9.5-1.1 | OPENSUSE-SU-2026:11815-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-ansi2htmls390x | Advisory build | 1.9.5-1.1 | OPENSUSE-SU-2026:11815-1 |
Show 1 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-ansi2htmlx86_64 | Advisory build | 1.9.5-1.1 | OPENSUSE-SU-2026:11815-1 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 5.3 / 10
- Severity
- medium
- Provider
- VulnCheck · cna
- Vector string
- 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
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 6.1 | medium | VulnCheck · cna | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| pycontribs | ansi2html | 1.7.0a0 to < 1.9.4 (affected · custom)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
References
4- https://github.com/pycontribs/ansi2html
- https://github.com/pycontribs/ansi2html/blob/v1.9.3/src/ansi2html/converter.py#L345-L349
- Patch Commit https://github.com/pycontribs/ansi2html/commit/89d1c231c60ac52005f3b21bbba551c786c554fc
- VulnCheck Advisory: ansi2html 1.7.0a0 through 1.9.3 Cross-Site Scripting via OSC 8 https://www.vulncheck.com/advisories/ansi2html-1.7-0a0-through-1.9.3-cross-site-scripting-via-osc-8
Provider assertions
2VulnCheck · cna
ansi2html 1.7.0a0 through 1.9.3 Cross-Site Scripting via OSC 8
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- dcd3945f8a5130cfec16889493ef28588690bdb289815b45366d8ef3c7003ef2
- Ingested
- 23 Sep 2026, 09:40:21 UTC
- Source record
- Official CVE record