VDB

CVE-2026-92973

CVE-2026-92973 PUBLISHED CVSS 5.3 MEDIUM

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.

PackageEcosystemFixed in
ansi2htmlpycontribs1.9.4

Risk scores

CVSS 4.0
5.3
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

Affected products

VendorProductVersions
pycontribsansi2html1.7.0a0
pycontribsansi2html1.7.0a0
ansi2html_projectansi2html1.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

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›