CVE-2026-59988

django-docutils provides reStructuredText support for Django. Prior to 0.30.0, public rendering paths including publish_doctree, publish_html_from_source, publish_html_from_doctree, publish_parts_from_doctree, the {% rst %} template tag, the rst template filter, DocutilsTemplates, and DocutilsView pass lower-trust reStructuredText to Docutils without disabling file_insertion_enabled, raw_enabled, ambient docutils.conf processing, or unsafe URI schemes and without consistently sanitizing doctrees. An attacker who can influence rendered reStructuredText can use include or csv-table directives to read local files or cause server-side URL requests, or use raw HTML and unsafe URI output to inject stored script-capable content. Applications that render only trusted static reStructuredText are not affected unless attackers can influence it. This issue is fixed in version 0.30.0.
Configurations

No configuration.

History

20 Nov 2026, 22:17

Type Values Removed Values Added
References () https://github.com/tony/django-docutils/security/advisories/GHSA-86mf-q4h5-69gp - () https://github.com/tony/django-docutils/security/advisories/GHSA-86mf-q4h5-69gp -

19 Nov 2026, 17:18

Type Values Removed Values Added
New CVE

Information

Published : 2026-11-19 17:18

Updated : 2026-11-20 22:17


NVD link : CVE-2026-59988

Mitre link : CVE-2026-59988

CVE.ORG link : CVE-2026-59988


JSON object : View

Products Affected

No product.

CWE
CWE-22

Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

CWE-79

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

CWE-200

Exposure of Sensitive Information to an Unauthorized Actor

CWE-918

Server-Side Request Forgery (SSRF)