Skip to main content
VulnerabilityPublished

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

Affects django-docutilsSource GCVE Database

0
Compare
Authoritative record:CVE-2026-59988· High 8.2

Not known to be exploited · CVSS 8.2 High : upgrade to 0.30.0 soon.

Data as of 20 Nov 2026, 01:49 UTC

CVSS 3.1 base score
8.2High
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (GitHub_M)CVSS 3.18.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:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 19 Nov 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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

ProductAffectedFixed in
PyPIdjango-docutilsAffected
  • <0.30.0
Fixed in
  • 0.30.0

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

Community reviews

Loading reviews…