Mistune before 3.3.0 contains a path traversal vulnerability in the Include directive that allows attackers to read arbitrary files by supplying ../ sequences in include paths. Attackers can also inject HTML through unescaped error messages and included file contents to perform cross-site scripting even when escape=True is set.

Project Subscriptions

Vendors Products
Mistune Project Subscribe
Mistune Subscribe
Advisories
Source ID Title
Github GHSA Github GHSA GHSA-h7ww-273w-6cm8 Mistune: Path Traversal and XSS in Include directive
Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

Fri, 23 Oct 2026 12:30:00 +0000

Type Values Removed Values Added
References
Metrics threat_severity

None

threat_severity

Important


Fri, 23 Oct 2026 00:45:00 +0000

Type Values Removed Values Added
Description Mistune before 3.3.0 contains a path traversal vulnerability in the Include directive that allows attackers to read arbitrary files by supplying ../ sequences in include paths. Attackers can also inject HTML through unescaped error messages and included file contents to perform cross-site scripting even when escape=True is set.
Title Mistune before 3.3.0 Path Traversal and XSS via Include Directive
First Time appeared Mistune Project
Mistune Project mistune
Weaknesses CWE-22
CPEs cpe:2.3:a:mistune_project:mistune:*:*:*:*:*:*:*:*
Vendors & Products Mistune Project
Mistune Project mistune
References
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N'}

cvssV4_0

{'score': 8.7, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N'}


Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-10-22T19:13:31.904Z

Reserved: 2026-10-22T11:20:02.627Z

Link: CVE-2026-115355

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Deferred

Published: 2026-10-22T19:17:41.520

Modified: 2026-10-22T19:17:41.633

Link: CVE-2026-115355

cve-icon Redhat

Severity : Important

Publid Date: 2026-10-22T19:13:31Z

Links: CVE-2026-115355 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-10-23T07:15:17Z

Weaknesses