← VULNERABILITIES

CVE-2026-59988

django-docutils unsafe Docutils defaults allow local file disclosure, SSRF, and stored XSS

High · 8.2Fix available
CVSS
8.2
EPSS
0.45% (p41)
Published
2026-11-19
Age
15d old
Modified
2026-11-20
Product
tony django-docutils
Aliases
GHSA-86mf-q4h5-69gp

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N

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.

Fixed in

0.30.0

Affected packages

EcosystemPackageRangeFixed
PyPIdjango-docutils< 0.30.00.30.0
PyPIdjango-docutils>=0, <0.30.00.30.0

Sources

  • NVD · first seen 15d ago · NVD terms of use
  • OSV · first seen 15d ago · CC-BY 4.0
  • GitHub Advisory Database · first seen 14d ago · CC-BY 4.0
  • CVE List · first seen 15d ago · CVE Terms of Use

References

JSON