CVE-2026-59988
HIGH 8.2CVSS 3.1django-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.
- Published
- 19 Nov 2026
- Last modified
- 20 Nov 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Received
- Weakness
- CWE-200CWE-22CWE-79CWE-918
- Also known as
- GHSA-86mf-q4h5-69gp
- Sources
- NVDJSONCVE ListJSONOSV GHSA-86mf-q4h5-69gpJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 8.2 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N |
| CVE List | GitHub_M | CVSS 3.1 | HIGH 8.2 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | HIGH 8.2 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N |
| CVE List | CISA-ADP | SSVC | Exploitation: poc; Automatable: yes; Technical Impact: partial |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| CVE List | tony | django-docutils | = < 0.30.0 | |
| OSV | PyPI | django-docutils | < 0.30.0 | 0.30.0 |
References
- https://github.com/tony/django-docutils/blob/v0.30.0/CHANGES · x_refsource_MISC, WEB
- https://github.com/tony/django-docutils/commit/274caaf14c2368fafeb45f178094a34ba538f067 · x_refsource_MISC, WEB
- https://github.com/tony/django-docutils/commit/57fd751a10ce2969e4ca2bde6a9094fa2e2ba0dd · x_refsource_MISC, WEB
- https://github.com/tony/django-docutils/pull/457 · x_refsource_MISC, WEB
- https://github.com/tony/django-docutils/security/advisories/GHSA-86mf-q4h5-69gp · x_refsource_CONFIRM, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-59988 · ADVISORY
- https://github.com/tony/django-docutils · PACKAGE
History
- 25 Nov 2026 20:33 UTC · CVE List: first stored (published 19 Nov 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 20 Nov 2026)
- 25 Nov 2026 20:11 UTC · NVD: first stored (published 19 Nov 2026)