p PatchFirst

CVE-2026-59988

CVE-2026-59988 · django-docutils unsafe Docutils defaults allow local file disclosure, SSRF, and stored XSS

CVSS 8.2 · High · EPSS 0.5% · Public exploit · Fix available

Compare with your installed version

Affected products and known fixed versions are public information. Compare them with your installed version.

Check the installed version:

pip show django-docutils

Assess your server’s risks

The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.

Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.

curl -fsSL https://patchfirst.dev/check.sh | sh
Check your server for free →

Channels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

Published
Updated

Stack: python

Affected products and versions

  • django-docutils

    Versions
    • < 0.30.0: Affected

    No fix published

  • django-docutils PyPI

    Versions
    • 0.10.0
    • 0.11.0
    • 0.11.0.post0
    • 0.12.0
    • 0.13.0
    • 0.13.1
    All versions (46)
    • 0.13.2
    • 0.13.3
    • 0.13.4
    • 0.13.5
    • 0.14.0
    • 0.14.1
    • 0.15.0
    • 0.16.0
    • 0.17.0
    • 0.18.0
    • 0.19.0
    • 0.2.0
    • 0.20.0
    • 0.20.1
    • 0.21.0
    • 0.22.0
    • 0.22.1
    • 0.23.0
    • 0.24.0
    • 0.25.0
    • 0.26.0
    • 0.27.0
    • 0.28.0
    • 0.29.0
    • 0.3.0
    • 0.3.1
    • 0.3.2
    • 0.3.3
    • 0.3.4
    • 0.4.0
    • 0.5.0
    • 0.5.0b2
    • 0.5.1
    • 0.6.0
    • 0.6.0b0
    • 0.6.0b1
    • 0.7.0
    • 0.8.0
    • 0.8.1a0
    • 0.9.0
    Affected ranges
    • ECOSYSTEM: < 0.30.0

    Update to 0.30.0

Original sources

Check your server →