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

Published Oct 22, 2026
·
Updated

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 blockhtml 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 Software

12 affected componentsFixes available
pypi/mistune<3.3.0
debian/mistune*
debian/mistune*
debian/mistune*
debian/mistune<=2.0.4-1, <=3.1.3-1, <=3.1.4-1
3.4.0-1
ubuntu/mistune*
ubuntu/mistune*
ubuntu/mistune*
ubuntu/mistune*
ubuntu/mistune*
ubuntu/mistune*
ubuntu/mistune*

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/mistune to a version that resolves this vulnerability.

    Fixed in 3.4.0-1

Event History

Oct 22, 2026
CVE Published
via Ubuntu·12:00 AM
Data Sourced
via Ubuntu·12:00 AM
RemedyDescriptionSeverityAffected Software
CVE Published
via MITRE·07:13 PM
Data Sourced
via MITRE·07:13 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·07:17 PM
DescriptionSeverityWeakness
Oct 28, 2026
Data Sourced
via OSV·05:50 PM
Affected Software

Frequently Asked Questions

1

Which deployments are exposed to this issue?

Deployments using Mistune before 3.3.0 are exposed when the Include directive is enabled or available, rendering is performed with escape=False, and an attacker can cause a readable HTML-family file to be included.

2

What does an attacker need to exploit it?

The attacker needs to plant an .html, .xhtml, or .htm file that the renderer can read, then reference it through an include directive. The issue can be combined with path traversal to reach the planted file.

3

Is a default escaped rendering configuration affected?

The provided information identifies exploitation when escape=False is set. It does not establish that rendering with escaping enabled is affected.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203