# CVE-2026-59988: django-docutils unsafe Docutils defaults allow local file disclosure, SSRF, and stored XSS

- Severity: High 8.2 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.45%, higher than 40% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-11-19T16:43:14.816Z
- Modified: 2026-11-20T22:17:51.047Z
- Also known as: GHSA-86mf-q4h5-69gp
- Weaknesses: CWE-22, CWE-79, CWE-200, CWE-918
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- tony django-docutils: < 0.30.0
- django-docutils (PyPI): before 0.30.0

## Every score

- GitHub_M: CVSS:3.1 8.2 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N`
- GitHub: CVSS:3.1 8.2 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N`

## References

- <https://github.com/tony/django-docutils/security/advisories/GHSA-86mf-q4h5-69gp> (exploit, web)
- <https://github.com/tony/django-docutils/pull/457> (web)
- <https://github.com/tony/django-docutils/commit/274caaf14c2368fafeb45f178094a34ba538f067> (web)
- <https://github.com/tony/django-docutils/commit/57fd751a10ce2969e4ca2bde6a9094fa2e2ba0dd> (web)
- <https://github.com/tony/django-docutils/blob/v0.30.0/CHANGES> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-59988> (advisory)
- <https://github.com/tony/django-docutils> (package)

## Sources

- CVE List: [CVE-2026-59988](https://www.cve.org/CVERecord?id=CVE-2026-59988), CVE Terms of Use, modified 2026-11-20
- GitHub Advisory Database: [GHSA-86mf-q4h5-69gp](https://github.com/advisories/GHSA-86mf-q4h5-69gp), CC-BY-4.0, modified 2026-11-20
- NVD: [CVE-2026-59988](https://nvd.nist.gov/vuln/detail/CVE-2026-59988), Public domain, modified 2026-11-20

---

Page: https://cve.day/CVE-2026-59988 · Whole record: https://cve.day/CVE-2026-59988.json · Rebuilt by cve.day 2026-11-25T22:59:52.148Z
