What’s Vulnerable › Vulnerabilities

CVE-2026-115350: Mistune before 3.3.0 Stored XSS via Include Directive HTML Files

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.

Affected products

How to fix

Upgrade to a fixed version: lepture mistune 3.3.0. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-115350 or the next vulnerability affects your stack