CVE-2026-59988
published high CVSS 3.1 · 8.2django-docutils unsafe Docutils defaults allow local file disclosure, SSRF, and stored XSS
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| tony | — | django-docutils< 0.30.0 | Affected | Not stated | 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 8.2 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| tony | django-docutils | < 0.30.0 (affected) | GitHub_M · cna |
Weaknesses
4- CWE-22 CWE-22: Improper Limitation of a Pathname to a Restricted Directory
- CWE-79 CWE-79: Improper Neutralization of Input During Web Page Generation
- CWE-200 CWE-200: Exposure of Sensitive Information to an Unauthorized Actor
- CWE-918 CWE-918: Server-Side Request Forgery
References
5- https://github.com/tony/django-docutils/blob/v0.30.0/CHANGES
- https://github.com/tony/django-docutils/commit/274caaf14c2368fafeb45f178094a34ba538f067
- https://github.com/tony/django-docutils/commit/57fd751a10ce2969e4ca2bde6a9094fa2e2ba0dd
- https://github.com/tony/django-docutils/pull/457
- https://github.com/tony/django-docutils/security/advisories/GHSA-86mf-q4h5-69gp
Provider assertions
2GitHub_M · cna
django-docutils unsafe Docutils defaults allow local file disclosure, SSRF, and stored XSS
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- d862b6a62a3f498d56cf81f21daf2622b910bf27f720104426f5205c98837ad9
- Ingested
- 20 Nov 2026, 21:32:40 UTC
- Source record
- Official CVE record