Skip to main content

Docutils

3 CVEs product

Monthly

CVE-2026-144963 Dec 04, 14:42 HIGH PATCH This Week

TeX macro injection in the Docutils LaTeX writer lets attackers who supply reStructuredText smuggle an \input macro into compiled output via percent-encoded image URIs, closing the includegraphics argument to break out of the intended URI context. Versions before 0.23.1 are affected, and the technique embeds local files readable by the LaTeX compiler into the produced document - notably even when raw_enabled and file_insertion_enabled are turned off, so those hardening settings do not mitigate it. Exploitation is conditional: the workflow must convert untrusted rST to LaTeX and then compile it, and the attacker must be able to retrieve the compiled output, which is why the assessed severity reflects high attack complexity; no public exploit code or active exploitation is confirmed in the available data, and a vendor fix exists in 0.23.1.

Python Code Injection Docutils
NVD GitHub
CVSS 4.0
8.2
CVE-2026-144965 Dec 04, 14:42 HIGH PATCH This Week

Local file disclosure in Docutils before 0.23.1 allows attacker-supplied reStructuredText to embed arbitrary files readable by the Docutils process into generated HTML or ODT documents, bypassing the file_insertion_enabled=False setting that deployments use as a sandbox boundary. The flaw is limited to applications that render untrusted RST through the HTML or ODT writers and rely on that setting for isolation; installations that do not process untrusted markup, or do not use file_insertion_enabled=False as a security control, are not meaningfully exposed. No public exploit was identified at time of analysis, and the vendor has released Docutils 0.23.1 with a fix.

Python Information Disclosure Docutils
NVD GitHub
CVSS 4.0
8.7
CVE-2026-144966 Dec 04, 14:42 MEDIUM PATCH This Month

Cross-site scripting in Docutils before 0.23.1 lets an attacker who supplies reStructuredText inject HTML through the image directive's :alt: option, because the html4css1 and html5 writers copy that alt text unescaped into the fallback content of <object> or <video> elements, so an injected script element executes in the browser of anyone who views the generated page. The flaw is exploitable only in deployments that render attacker-controlled reStructuredText to HTML with one of those two writers and only when the image directive resolves to a non-image media type that is emitted as an object/video container rather than a plain <img>; notably it still triggers with raw_enabled disabled, so that hardening setting provides no protection. The CVSS 4.0 base score is 5.3 (AV:N/AC:L/PR:N/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N), a vendor patch is available in 0.23.1, and no public exploit was identified at time of analysis; priority is assessed as this_month rather than immediate action.

XSS Docutils
NVD GitHub
CVSS 4.0
5.3
CVSS 8.2
HIGH PATCH This Week

TeX macro injection in the Docutils LaTeX writer lets attackers who supply reStructuredText smuggle an \input macro into compiled output via percent-encoded image URIs, closing the includegraphics argument to break out of the intended URI context. Versions before 0.23.1 are affected, and the technique embeds local files readable by the LaTeX compiler into the produced document - notably even when raw_enabled and file_insertion_enabled are turned off, so those hardening settings do not mitigate it. Exploitation is conditional: the workflow must convert untrusted rST to LaTeX and then compile it, and the attacker must be able to retrieve the compiled output, which is why the assessed severity reflects high attack complexity; no public exploit code or active exploitation is confirmed in the available data, and a vendor fix exists in 0.23.1.

Python Code Injection Docutils
NVD GitHub
CVSS 8.7
HIGH PATCH This Week

Local file disclosure in Docutils before 0.23.1 allows attacker-supplied reStructuredText to embed arbitrary files readable by the Docutils process into generated HTML or ODT documents, bypassing the file_insertion_enabled=False setting that deployments use as a sandbox boundary. The flaw is limited to applications that render untrusted RST through the HTML or ODT writers and rely on that setting for isolation; installations that do not process untrusted markup, or do not use file_insertion_enabled=False as a security control, are not meaningfully exposed. No public exploit was identified at time of analysis, and the vendor has released Docutils 0.23.1 with a fix.

Python Information Disclosure Docutils
NVD GitHub
CVSS 5.3
MEDIUM PATCH This Month

Cross-site scripting in Docutils before 0.23.1 lets an attacker who supplies reStructuredText inject HTML through the image directive's :alt: option, because the html4css1 and html5 writers copy that alt text unescaped into the fallback content of <object> or <video> elements, so an injected script element executes in the browser of anyone who views the generated page. The flaw is exploitable only in deployments that render attacker-controlled reStructuredText to HTML with one of those two writers and only when the image directive resolves to a non-image media type that is emitted as an object/video container rather than a plain <img>; notably it still triggers with raw_enabled disabled, so that hardening setting provides no protection. The CVSS 4.0 base score is 5.3 (AV:N/AC:L/PR:N/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N), a vendor patch is available in 0.23.1, and no public exploit was identified at time of analysis; priority is assessed as this_month rather than immediate action.

XSS Docutils
NVD GitHub

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy