CVE-2026-59988: django-docutils unsafe Docutils defaults allow local file disclosure, SSRF, and stored XSS
Affects django-docutilsSource GCVE Database
Not known to be exploited · CVSS 8.2 High : upgrade to 0.30.0 soon.
Data as of 20 Nov 2026, 01:49 UTC
Thin evidence
One scorer or none| CNA (GitHub_M) | CVSS 3.1 | 8.2 |
|---|
- Patch
- Available – fixed in 0.30.0
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:NExploitation evidence
Disclosed: evidence found.
CVE published 19 Nov 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 19 Nov 2026.
What to do
Upgrade django-docutils to 0.30.0.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| PyPIdjango-docutils | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Upgrade django-docutils to version 0.30.0 or later, where unsafe Docutils features are disabled by default and output is sanitized. Do not enable unsafe Docutils settings for untrusted or user-supplied RST content. For trusted static RST that requires unsafe features, explicitly opt in by configuring 'allow_unsafe_docutils_settings' and enabling the necessary Docutils options. Ensure the 'typing-extensions' package is installed if your environment does not already provide it, as it is a runtime dependency starting with 0.30.0.
Description
django-docutils versions prior to 0.30.0 render reStructuredText (RST) using Docutils without secure defaults, allowing attacker-controlled RST to exploit unsafe Docutils directives. This can lead to local file disclosure, server-side request forgery (SSRF), and stored cross-site scripting (XSS) via raw HTML injection. The vulnerability affects applications that render untrusted or attacker-influenced RST content. The issue is fixed in version 0.30.0 by disabling unsafe directives and sanitizing output by default.
References
- github.com/tony/django-docutils/security/advisories/GHSA-86mf-q4h5-69gp (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2026-59988 (opens in a new tab)
- github.com/tony/django-docutils/pull/457 (opens in a new tab)
- github.com/tony/django-docutils/commit/274caaf14c2368fafeb45f178094a34ba538f067 (opens in a new tab)
- github.com/tony/django-docutils/commit/57fd751a10ce2969e4ca2bde6a9094fa2e2ba0dd (opens in a new tab)
- github.com/tony/django-docutils (opens in a new tab)
- github.com/tony/django-docutils/blob/v0.30.0/CHANGES (opens in a new tab)