CVE-2026-59988
Description
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.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or — if you've already worked around this in production — publish your fix to the community-verified tier.
Propose a mitigation on Community Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
Package impact
| Ecosystem | Package | Vulnerable | Fixed |
|---|---|---|---|
| PyPI | django-docutils | < 0.30.0 | 0.30.0 |
| PyPI | django-docutils | <0.30.0 | 0.30.0 |
Application impact
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| tony | django-docutils | < 0.30.0 | |
References
- https://github.com/tony/django-docutils/blob/v0.30.0/CHANGES
- https://github.com/tony/django-docutils/commit/274caaf14c2368fafeb45f178094a34ba538f067
- https://github.com/tony/django-docutils/commit/57fd751a10ce2969e4ca2bde6a9094fa2e2ba0dd
- https://github.com/tony/django-docutils/pull/457
- https://github.com/tony/django-docutils/security/advisories/GHSA-86mf-q4h5-69gp
- https://nvd.nist.gov/vuln/detail/CVE-2026-59988
- https://github.com/advisories/GHSA-86mf-q4h5-69gp
- https://github.com/tony/django-docutils
CWEs
CWE-22 CWE-79 CWE-200 CWE-918
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.