{"id":"CVE-2026-144966","aliases":["DEBIAN-CVE-2026-144966","DHI-kta2-363q-t5tm-wcau","EUVD-2026-144247","GHSA-v94f-35v7-v735"],"status":"published","title":"Docutils before 0.23.1 XSS via Unescaped Image Alt Text in HTML Writers","description":"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.","severity":{"version":"4.0","score":5.3,"vector":"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","level":"medium","assessor":"cna","from":"cve","others":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"cna","from":"cve"},{"version":"4.0","score":5.3,"vector":"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","level":"medium","from":"ghsa"}]},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-79"],"published":"2026-12-04T14:42:07Z","modified":"2026-12-05T01:00:40Z","affected":[{"source":"osv","ecosystem":"Debian:12","package":"python-docutils","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.19+dfsg-6","0.19+dfsg-7","0.19+dfsg-8","0.20.1+dfsg-1","0.20.1+dfsg-2","0.20.1+dfsg-3","0.21.2+dfsg-1","0.21.2+dfsg-2","0.22+dfsg-1","0.22.2+dfsg-1","0.22.2+dfsg-2","0.22.3+dfsg-1","0.22.4+dfsg-1","0.23+dfsg-1","0.23+dfsg-2","0.23+dfsg-3"]},{"source":"osv","ecosystem":"Debian:13","package":"python-docutils","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.21.2+dfsg-2","0.22+dfsg-1","0.22.2+dfsg-1","0.22.2+dfsg-2","0.22.3+dfsg-1","0.22.4+dfsg-1","0.23+dfsg-1","0.23+dfsg-2","0.23+dfsg-3"]},{"source":"osv","ecosystem":"Debian:14","package":"python-docutils","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.21.2+dfsg-2","0.22+dfsg-1","0.22.2+dfsg-1","0.22.2+dfsg-2","0.22.3+dfsg-1","0.22.4+dfsg-1","0.23+dfsg-1","0.23+dfsg-2","0.23+dfsg-3"]},{"source":"osv","ecosystem":"Docker Hardened Images:Debian:13","package":"python-docutils","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.21.2+dfsg-2+deb13u0+dhi0"}]}],"versions":["0.21.2+dfsg-2+deb13u0+dhi0"]}],"products":[{"vendor":"docutils","product":"docutils"}],"references":[{"url":"https://github.com/docutils/docutils/blob/7736f5a7cdf287b85204d5ffe50b141e97bf7448/docutils/docutils/writers/html4css1/__init__.py#L617-L620","tags":["technical-description","article"]},{"url":"https://github.com/docutils/docutils/blob/7736f5a7cdf287b85204d5ffe50b141e97bf7448/docutils/docutils/writers/_html_base.py#L1200-L1211","tags":["technical-description","article"]},{"url":"https://github.com/docutils/docutils/commit/cf44fc7bda43e6dc362d13edc373070a7d82afd5","tags":["patch","fix"]},{"url":"https://pypi.org/project/docutils/0.23.1/","tags":["release-notes","advisory"]},{"url":"https://www.vulncheck.com/advisories/docutils-before-0.23.1-xss-via-unescaped-image-alt-text-in-html-writers","tags":["third-party-advisory","advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-144966","tags":["advisory"]},{"url":"https://pypi.org/project/docutils/0.23.1"},{"url":"https://github.com/advisories/GHSA-v94f-35v7-v735"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/144xxx/CVE-2026-144966.json","tags":["advisory"]},{"url":"https://github.com/docutils/docutils","tags":["package"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2026-144966","tags":["advisory"]},{"url":"https://scout.docker.com/v/DHI-kta2-363q-t5tm-wcau","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2026-144966","title":"Docutils before 0.23.1 XSS via Unescaped Image Alt Text in HTML Writers","description":"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.","status":"published","published":"2026-12-04T14:42:07.219Z","modified":"2026-12-04T15:05:49.775Z","cvss":[{"version":"4.0","score":5.3,"vector":"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","level":"medium","assessor":"cna"},{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"cna"}],"cwes":["CWE-79"],"ssvc":{"exploitation":"none","automatable":"no","technical_impact":"partial","date":"2026-12-04"},"updated_at":"2026-12-04T15:18:44.408889Z"}],"euvd":[{"id":"EUVD-2026-144247","description":"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.","status":"published","published":"2026-12-04T14:42:07Z","modified":"2026-12-04T15:05:49Z","cvss":[{"version":"4.0","score":5.3,"vector":"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","level":"medium"}],"updated_at":"2026-12-04T18:41:49.532348Z"}],"ghsa":[{"id":"GHSA-v94f-35v7-v735","title":"Docutils before 0.23.1 contains a cross-site scripting vulnerability that allows attackers...","description":"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.","status":"published","published":"2026-12-04T15:31:44Z","modified":"2026-12-04T15:31:52Z","cvss":[{"version":"4.0","score":5.3,"vector":"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","level":"medium"},{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"cwes":["CWE-79"],"updated_at":"2026-12-04T15:57:12.612089Z"}],"nvd":[{"id":"CVE-2026-144966","description":"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.","status":"published","published":"2026-12-04T15:17:36.697Z","modified":"2026-12-04T17:19:24.7Z","cvss":[{"version":"4.0","score":5.3,"vector":"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","level":"medium","assessor":"secondary"},{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"secondary"}],"cwes":["CWE-79"],"ssvc":{"exploitation":"none","automatable":"no","technical_impact":"partial","date":"2026-12-04"},"updated_at":"2026-12-04T17:26:29.876621Z"}],"osv":[{"id":"CVE-2026-144966","title":"Docutils before 0.23.1 XSS via Unescaped Image Alt Text in HTML Writers","description":"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.","status":"published","published":"2026-12-04T14:42:07.219Z","modified":"2026-12-04T16:46:13.115920115Z","cvss":[{"version":"4.0","score":5.3,"vector":"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","level":"medium"}],"cwes":["CWE-79"],"updated_at":"2026-12-04T16:17:16.923443Z"},{"id":"DEBIAN-CVE-2026-144966","upstream":["CVE-2026-144966"],"status":"published","published":"2026-12-04T15:17:36.697Z","modified":"2026-12-04T23:00:07.101962518Z","cvss":[{"version":"4.0","score":5.3,"vector":"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","level":"medium"}],"updated_at":"2026-12-04T23:33:39.106853Z"},{"id":"DHI-kta2-363q-t5tm-wcau","upstream":["CVE-2026-144966"],"title":"Docutils before 0.23.1 contains a cross-site scripting vulnerability that allows attackers supplying reStructuredText…","description":"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.","status":"published","published":"2026-12-05T00:51:56Z","modified":"2026-12-05T01:00:40.683589841Z","cvss":[{"version":"4.0","score":5.3,"vector":"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","level":"medium"}],"updated_at":"2026-12-05T01:08:27.445632Z"}]}}
