{"id":"CVE-2026-115355","published":"2026-10-22T19:13:31Z","modified":"2026-10-29T13:48:43Z","title":"Mistune before 3.3.0 Path Traversal and XSS via Include Directive","vendor":"lepture","product":"mistune","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00461,"percentile":0.40821,"provenance":"source"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"references":[{"url":"https://github.com/lepture/mistune/security/advisories/GHSA-h7ww-273w-6cm8","tags":["vendor-advisory"]},{"url":"https://www.vulncheck.com/advisories/mistune-before-3.3.0-path-traversal-and-xss-via-include-directive","tags":["third-party-advisory"]}],"priority":{"score":13.4,"factors":[{"name":"EPSS percentile","points":8.16},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"lepture","affectedVersions":[{"vendor":"lepture","product":"mistune","versions":["< 3.3.0"]}],"fixedVersions":[{"vendor":"lepture","product":"mistune","versions":["3.3.0"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2026-10-29T13:46:05.214120Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"mistune","vulnerableRanges":["<3.3.0"],"patched":["3.3.0"],"from":["GHSA-h7ww-273w-6cm8"],"provenance":"source"}],"euvd":{"id":"EUVD-2026-108425","exploited":false,"provenance":"source"}}