{"id":"CVE-2026-144966","summary":"Docutils before 0.23.1 XSS via Unescaped Image Alt Text in HTML Writers","details":"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.","modified":"2026-12-04T16:46:13.115920115Z","published":"2026-12-04T14:42:07.219Z","database_specific":{"unresolved_ranges":[{"extracted_events":[{"range":[{"fixed":"0.23.1"}],"source":"AFFECTED_FIELD","strategy":"StandardRange"}]},{"extracted_events":[{"range":[{"fixed":"0.23.1"}],"source":"CPE_FIELD","strategy":"CPEApplicability"}]},{"extracted_events":[{"source":"DESCRIPTION","range":[{"fixed":"0.23.1"}]}]}],"cna_assigner":"VulnCheck","cwe_ids":["CWE-79"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/144xxx/CVE-2026-144966.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/144xxx/CVE-2026-144966.json"},{"type":"PACKAGE","url":"https://github.com/docutils/docutils"},{"type":"ARTICLE","url":"https://github.com/docutils/docutils/blob/7736f5a7cdf287b85204d5ffe50b141e97bf7448/docutils/docutils/writers/_html_base.py#L1200-L1211"},{"type":"ARTICLE","url":"https://github.com/docutils/docutils/blob/7736f5a7cdf287b85204d5ffe50b141e97bf7448/docutils/docutils/writers/html4css1/__init__.py#L617-L620"},{"type":"FIX","url":"https://github.com/docutils/docutils/commit/cf44fc7bda43e6dc362d13edc373070a7d82afd5"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-144966"},{"type":"ADVISORY","url":"https://pypi.org/project/docutils/0.23.1/"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/docutils-before-0.23.1-xss-via-unescaped-image-alt-text-in-html-writers"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/docutils/docutils","events":[{"introduced":"0"},{"fixed":"cf44fc7bda43e6dc362d13edc373070a7d82afd5"}],"database_specific":{"extracted_events":[{"source":"REFERENCES_COMMIT","range":[{"fixed":"cf44fc7bda43e6dc362d13edc373070a7d82afd5"}]}]}}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-144966.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"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"}]}