GHSA-v94f-35v7-v735MediumCVSS 6.1
Docutils before 0.23.1 contains a cross-site scripting vulnerability that allows attackers...
🔗 CVE IDs covered (1)
📋 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.
🔗 References (7)
- https://nvd.nist.gov/vuln/detail/CVE-2026-144966
- https://github.com/docutils/docutils/commit/cf44fc7bda43e6dc362d13edc373070a7d82afd5
- https://github.com/docutils/docutils/blob/7736f5a7cdf287b85204d5ffe50b141e97bf7448/docutils/docutils/writers/_html_base.py#L1200-L1211
- https://github.com/docutils/docutils/blob/7736f5a7cdf287b85204d5ffe50b141e97bf7448/docutils/docutils/writers/html4css1/__init__.py#L617-L620
- https://pypi.org/project/docutils/0.23.1
- https://www.vulncheck.com/advisories/docutils-before-0.23.1-xss-via-unescaped-image-alt-text-in-html-writers
- https://github.com/advisories/GHSA-v94f-35v7-v735