AploSec / Disclosures / CVE-2026-144966

Medium 5.3ReportedFixed in 0.23.1CWE-79PyPI

Docutils before 0.23.1 XSS via Unescaped Image Alt Text in HTML Writers

CVE-2026-144966 · published 2026-12-04

In plain words: this type of bug lets someone run scripts in another person's browser (cross-site scripting, XSS). A fixed release is listed.

Summary

CVE-2026-144966 affects Docutils (PyPI) < 0.23.1: XSS via Unescaped Image Alt Text in HTML Writers (CWE-79). Fixed in 0.23.1. CVSS 4.0 base score 5.3 (Medium), assigned by VulnCheck. Published 2026-12-04 by VulnCheck. Credit: Zachariah Mithani (AploSec).

Docutils before 0.23.1 contains a cross-site scripting vulnerability that allows attackers supplying reStructuredText to inject HTML through the image directive's :alt: option. The html4css1 and html5 writers copy unescaped alt text into object or video fallback content, so script elements execute in viewers' browsers even with raw_enabled disabled.

Evidence

Reported to the maintainer. The public advisory and references below describe the evidence and preconditions; reporting status alone does not establish independent reproduction.

Remediation

Upgrade Docutils to 0.23.1 or later. Releases in the affected range (< 0.23.1) are vulnerable. See the linked advisory for details on affected release lines.

Timeline

  • 2026-12-04 CVE published

References

Severity
Medium 5.3CVSS 4.0, scored by VulnCheck in the CVE record
Package
Docutils
Ecosystem
PyPI
Affected
< 0.23.1
Fixed
0.23.1
Weakness
CWE-79
CNA
VulnCheck
Credit
Zachariah Mithani (AploSec)finder