{"id":"CVE-2026-59988","published":"2026-11-19T16:43:14Z","modified":"2026-11-20T21:26:54Z","title":"django-docutils unsafe Docutils defaults allow local file disclosure, SSRF, and stored XSS","vendor":"tony","product":"django-docutils","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.2,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00451,"percentile":0.39933,"provenance":"source"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"},{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"},{"id":"CWE-200","name":"Exposure of Sensitive Information to an Unauthorized Actor"},{"id":"CWE-918","name":"Server-Side Request Forgery"}],"references":[{"url":"https://github.com/tony/django-docutils/security/advisories/GHSA-86mf-q4h5-69gp","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/tony/django-docutils/pull/457","tags":["x_refsource_MISC"]},{"url":"https://github.com/tony/django-docutils/commit/274caaf14c2368fafeb45f178094a34ba538f067","tags":["x_refsource_MISC"]},{"url":"https://github.com/tony/django-docutils/commit/57fd751a10ce2969e4ca2bde6a9094fa2e2ba0dd","tags":["x_refsource_MISC"]},{"url":"https://github.com/tony/django-docutils/blob/v0.30.0/CHANGES","tags":["x_refsource_MISC"]}],"priority":{"score":18.7,"factors":[{"name":"EPSS percentile","points":7.99},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":5.74}]},"exploitSources":{"pocGithub":{"count":1,"skipped":0,"earliest":"2026-11-23","earliestUrl":"https://github.com/googlesky/CVE-2026-59988","repos":[{"name":"googlesky/CVE-2026-59988","url":"https://github.com/googlesky/CVE-2026-59988","stars":0,"created":"2026-11-23"}]},"first":{"date":"2026-11-23","source":"PoC-in-GitHub","url":"https://github.com/googlesky/CVE-2026-59988"},"provenance":"source"},"vendorSlug":"tony","affectedVersions":[{"vendor":"tony","product":"django-docutils","versions":["< 0.30.0"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2026-11-20T21:26:49.009346Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"django-docutils","vulnerableRanges":["<0.30.0"],"patched":["0.30.0"],"from":["GHSA-86mf-q4h5-69gp"],"provenance":"source"}],"euvd":{"id":"EUVD-2026-130394","exploited":false,"provenance":"source"}}