# CVE-2026-115355: Mistune before 3.3.0 Path Traversal and XSS via Include Directive

- Severity: High 8.7 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.46%, higher than 41% of CVEs (2026-12-01)
- Published: 2026-10-22T19:13:31.904Z
- Modified: 2026-10-29T14:17:48.340Z
- Also known as: GHSA-h7ww-273w-6cm8
- Weaknesses: CWE-22
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: VulnCheck

## 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.

(As written by CVE List.)

## Affected

- lepture mistune: before 3.3.0 (not affected: 3.3.0)
- mistune (PyPI): before 3.3.0

## Every score

- VulnCheck: CVSS:4.0 8.7 High `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`
- VulnCheck: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- GitHub: rating High

## References

- <https://github.com/lepture/mistune/security/advisories/GHSA-h7ww-273w-6cm8> (vendor-advisory, web)
- <https://www.vulncheck.com/advisories/mistune-before-3.3.0-path-traversal-and-xss-via-include-directive> (third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-115355> (advisory)
- <https://github.com/lepture/mistune/commit/1bef343ade163fc3bb95572b15be720084cdb993> (web)
- <https://github.com/lepture/mistune> (package)
- <https://github.com/lepture/mistune/releases/tag/v3.3.0> (web)

## Sources

- CVE List: [CVE-2026-115355](https://www.cve.org/CVERecord?id=CVE-2026-115355), CVE Terms of Use, modified 2026-10-29
- GitHub Advisory Database: [GHSA-h7ww-273w-6cm8](https://github.com/advisories/GHSA-h7ww-273w-6cm8), CC-BY-4.0, modified 2026-10-23
- NVD: [CVE-2026-115355](https://nvd.nist.gov/vuln/detail/CVE-2026-115355), Public domain, modified 2026-10-29

---

Page: https://cve.day/CVE-2026-115355 · Whole record: https://cve.day/CVE-2026-115355.json · Rebuilt by cve.day 2026-11-25T22:59:46.807Z
