Mistune XSS in Include directive HTML rendering
lepture mistune
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| lepture mistune |
|
|
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.
From the CVE record · VulnCheck