Tony django-docutils
django-docutils unsafe Docutils defaults allow local file disclosure, SSRF, and stored XSS
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.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- < 0.30.0
Fixed in 0.30.0
Mitigation
Upgrade django-docutils to 0.30.0 or later.
References
- Vendor advisory github.com/tony/django-docutils/security/advis…
- Patch github.com/tony/django-docutils/pull/457
- Patch github.com/tony/django-docutils/commit/274caaf…
1 more
Timeline
Days relative to CVE publicationFirst public PoC 3.5 days after publication; not in CISA KEV. First PoC: googlesky/CVE-2026-59988 (created 23 Nov 2026, found by us: 23 Nov 2026).
PoC repositories
Found on GitHub.1 PoCs
PoCs 1
| Repository | Created | Found by us | Stars | Assessment |
|---|---|---|---|---|
| googlesky/CVE-2026-59988 | 23 Nov 2026 +3.5 d | 23 Nov 2026 | 0 | PoC |
Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.