Skip to main content
← All vulnerabilities
CVE-2026-115350GHSA-96VR-JM8V-G22J

Mistune before 3.3.0 Stored XSS via Include Directive HTML Files

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 3.3.0
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

Mistune, a Python Markdown parser, is affected when its Include directive loads HTML files without escaping them, which can allow attacker-controlled scripts to run in a victim's browser. The impact is cross-site scripting, and it applies when the renderer is configured with escape=False and an attacker can place or reference an HTML file the renderer can read.

Summarized by anthropic/claude-haiku-5.5. Verify details against the original sources.

Read the original description

Mistune before 3.3.0 contains a cross-site scripting vulnerability in the Include directive that emits included .html, .xhtml, or .htm file content as raw block_html tokens. Attackers who can plant an HTML file readable by the renderer can reference it via an include directive, combined with path traversal, to execute stored scripts when escape=False is set.

Timeline

  1. CVE published
  2. First seen by cve.now
  3. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  4. Record last updated

Affected versions

  • lepture mistune

    fixed in 3.3.0

References 2

GitHub · lepture/mistune

vulncheck.com