// Security Advisory Triage

django-docutils before 0.30.0 allows file disclosure, SSRF, and XSS

GitHub advisories — pip · published 2026-11-20 07:20 UTC
ACTION NEEDED PATCH_NOW SECURITY
WHAT CHANGEDGitHub published GHSA-86mf-q4h5-69gp (CVE-2026-59988) on 20 November 2026, rating django-docutils high severity. Versions before 0.30.0 use unsafe Docutils defaults that enable local file disclosure, server-side request forgery, and stored cross-site scripting. Version 0.30.0 patches the vulnerability.
WHY IT MATTERSApplications using django-docutils to render user-supplied reStructuredText can leak local files to attackers, make requests to internal services, or store malicious scripts that execute in other users' browsers. All three attack vectors are exploitable through the same unsafe configuration.
WHAT TO DOUpgrade django-docutils to 0.30.0 or later. Check whether your application accepts reStructuredText input from users and passes it to django-docutils rendering functions.
Model-reported confidence 85% (not measured accuracy) Primary source ↗ written by anthropic/claude-sonnet-4.5
Show the reasoning — raw diff, triage verdict, confidence
RAW DIFF
+ghsa_id: GHSA-86mf-q4h5-69gp
+summary: django-docutils unsafe Docutils defaults allow local file disclosure, SSRF, and stored XSS
+severity: high
+published_at: 2026-11-20T00:08:12Z
+cve_id: CVE-2026-59988
+vulnerabilities[].package.name: django-docutils
+vulnerabilities[].first_patched_version: 0.30.0
HOW IT WAS JUDGED
Triage signals below are model-reported assertions, preserved verbatim; they are not independent arithmetic verification.
triage verdictMATERIAL at 0.92, needed 0.5
triage reasoningDjango-related package with high-severity vulnerability affecting web frameworks commonly in production dependency trees.
signalsnew advisory published · high severity rating · Django package (web framework in dependency tree) · multiple attack vectors: local file disclosure, SSRF, stored XSS · patched version available (0.30.0)
suppression—
triage modelanthropic/claude-haiku-4.5 ($0.00000)
writer modelanthropic/claude-sonnet-4.5 ($0.00000)