{"id":"CVE-2026-115355","summary":"Mistune before 3.3.0 Path Traversal and XSS via Include Directive","details":"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.","aliases":["GHSA-h7ww-273w-6cm8"],"modified":"2026-10-31T02:31:07.105942227Z","published":"2026-10-22T19:13:31.904Z","database_specific":{"cwe_ids":["CWE-22"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/115xxx/CVE-2026-115355.json","cna_assigner":"VulnCheck"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/115xxx/CVE-2026-115355.json"},{"type":"ADVISORY","url":"https://github.com/lepture/mistune/security/advisories/GHSA-h7ww-273w-6cm8"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-115355"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/mistune-before-3.3.0-path-traversal-and-xss-via-include-directive"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/lepture/mistune","events":[{"introduced":"0"},{"fixed":"15c3b79325125272263d7d42492ec8f757447191"}],"database_specific":{"extracted_events":[{"range":[{"introduced":"0"},{"fixed":"3.3.0"}],"source":"AFFECTED_FIELD","strategy":"StandardRange"},{"source":"DESCRIPTION","range":[{"introduced":"0"},{"fixed":"3.3.0"}]}]}}],"versions":["v3.2.1","v3.2.0","v3.1.4","v3.1.3","v3.1.2","v3.1.1","v3.1.0","v3.0.1","v3.0.0","v3.0.0rc5","v3.0.0rc4","v3.0.0rc3","v3.0.0rc2","v3.0.0rc1","v3.0.0a3","v3.0.0a2","v3.0.0a1","v2.0.2","v2.0.1","v2.0.0","v2.0.0rc1","v2.0.0a6","v2.0.0a5","v2.0.0a4","v2.0.0a3","v2.0.0a2","v2.0.0a1","v0.8.4","v0.8.3","v0.8.2","v0.8.1","v0.8","v0.7.4","v0.7.3","v0.7.2","v0.7.1","v0.7","v0.6","v0.5.1","v0.5","v0.4.1","v0.4","v0.3.1","v0.3.0","v0.2.0","v0.1.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-115355.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"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"}]}