CVE-2026-144966
MEDIUM 5.3CVSS 4.0Docutils before 0.23.1 XSS via Unescaped Image Alt Text in HTML Writers
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.
- Published
- 4 Dec 2026
- Last modified
- 4 Dec 2026
- Assigned by
- disclosure@vulncheck.com
- NVD status
- Awaiting Analysis
- Weakness
- CWE-79
- Sources
- NVDJSONCVE ListJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | disclosure@vulncheck.com (Secondary) | CVSS 4.0 | MEDIUM 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| CVE List | VulnCheck | CVSS 4.0 | MEDIUM 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 |
| NVD | disclosure@vulncheck.com (Secondary) | CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| CVE List | VulnCheck | CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| CVE List | CISA-ADP | SSVC | Exploitation: none; Automatable: no; Technical Impact: partial |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| CVE List | docutils | Docutils | < 0.23.1 | 0.23.1 |
References
- https://github.com/docutils/docutils/blob/7736f5a7cdf287b85204d5ffe50b141e97bf7448/docutils/docutils/writers/_html_base.py#L1200-L1211 · technical-description
- https://github.com/docutils/docutils/blob/7736f5a7cdf287b85204d5ffe50b141e97bf7448/docutils/docutils/writers/html4css1/__init__.py#L617-L620 · technical-description
- https://github.com/docutils/docutils/commit/cf44fc7bda43e6dc362d13edc373070a7d82afd5 · patch
- https://pypi.org/project/docutils/0.23.1/ · release-notes
- https://www.vulncheck.com/advisories/docutils-before-0.23.1-xss-via-unescaped-image-alt-text-in-html-writers · third-party-advisory
History
- 4 Dec 2026 19:09 UTC · NVD: updated (other details)
- 4 Dec 2026 17:09 UTC · NVD: first stored (published 4 Dec 2026)
- 4 Dec 2026 16:09 UTC · CVE List: updated (other details)
- 4 Dec 2026 15:09 UTC · CVE List: first stored (published 4 Dec 2026)