HIGHCVSS v3.1 8.2Vulnerability

CVE-2026-59988

## Summary django-docutils before `0.30.0` rendered reStructuredText through Docutils without protected web-safe defaults. 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`, could process attacker-controlled RST with Docutils directives that read local files, fetch URL-backed content, or emit raw HTML. The issue is fixed in `0.30.0` by disabling Docutils file insertion, raw directives, local `docutils.conf` processing, and unsafe URI schemes by default, and by sanitizing doctrees before HTML is emitted. Applications are affected when they render attacker-controlled or lower-trust RST through django-docutils without their own safe Docutils configuration. Applications that only render trusted static RST are not affected unless that content can be influenced by an attacker. ## Impact An attacker who can influence RST rendered by a vulnerable django-docutils integration may be able to read files readable by the Django worker process, trigger server-side requests through URL-backed directives, or inject raw HTML/JavaScript into rendered output. Examples of affected application patterns include comments, wiki pages, blog bodies, profile or biography fields, CMS fields, uploaded RST documents, API-supplied RST, or overridden view content methods that return user-supplied RST. Potential impact includes disclosure of application configuration, environment files, credentials, source files, templates, mounted secrets, and logs readable by the process. UI escaping after rendering is not sufficient for file disclosure because the server-side read occurs before HTML reaches the client. ## Affected versions Affected package: `django-docutils` on PyPI Affected versions: `<= 0.29.0` Patched versions: `>= 0.30.0` ## Technical details Before `0.30.0`, django-docutils handed RST content to

Properties

Severity
high
Summary
django-docutils unsafe Docutils defaults allow local file disclosure, SSRF, and stored XSS
Nvd fetched at
2026-11-22T12:30:49.958423+00:00
Epss score
0.00451
Cvss severity
HIGH
Cvss score
8.2
Retrieved at
2026-11-22T12:32:27+00:00
Ghsa published
2026-11-20T00:08:12Z
Source url
https://github.com/advisories/GHSA-86mf-q4h5-69gp
Ghsa updated
2026-11-20T00:08:12Z
Ghsa id
GHSA-86mf-q4h5-69gp
Last source
FIRST EPSS
Score
8.2
Cvss version
3.1
Cve id
CVE-2026-59988
Cvss vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N
First seen by Signal
2026-11-19T19:29:21+00:00
Name
CVE-2026-59988
Is ghsa only
false
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N

Related Entities (6)

Related research

Explore deeper with Ninja Signal's threat intelligence graph

CVE-2026-59988 (CVSS v3.1 8.2) — Ninja Signal Threat Intelligence | Ninja Signal