Docutils before 0.23.1 contains a TeX injection vulnerability in the LaTeX writer that allows attackers supplying reStructuredText to inject TeX macros via percent-encoded image URIs. Attackers can close the includegraphics argument and inject an input macro, embedding local files into compiled output even with rawenabled and fileinsertionenabled disabled.
Docutils before 0.23.1 contains a local file disclosure vulnerability in the HTML and ODT writers that embed image directive files despite fileinsertionenabled being disabled. Attackers supplying reStructuredText can reference arbitrary local paths in image directives to have readable files embedded into generated HTML or ODT documents.
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 rawenabled disabled.