Skip to content
OpenAdvisories
Medium · 6.1 CVE-2026-115350 EUVD-2026-108419GHSA-pw44-j765-r9gj

Mistune before 3.3.0 Stored XSS via Include Directive HTML Files

Published Oct 22, 2026 · Updated Oct 29, 2026 · Assigned by VulnCheck

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

VendorProductAffectedFixed
lepture mistune < 3.3.0 3.3.0

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 mistune No fix yet —
Debian 13 mistune No fix yet —
Debian 12 mistune No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 mistune No fix yet —
Ubuntu 26.04 LTS mistune No fix yet —
Ubuntu 24.04 LTS mistune No fix yet —
Ubuntu 22.04 LTS mistune No fix yet —
Ubuntu 20.04 LTS mistune No fix yet —
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu 18.04 LTS mistune No fix yet —
Ubuntu 16.04 LTS mistune No fix yet —
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed python-mistune 3.4.0-2.1 openSUSE-SU-2026:12407-1

Advisories 1

References