// Security Advisory Triage

Mistune 3.3.0 patches path traversal and XSS in Include directive

GitHub advisories — pip · published 2026-10-24 16:01 UTC
ACTION NEEDED PATCH_NOW SECURITY
WHAT CHANGEDCVE-2026-115355 published 23 October 2026 for mistune, a Python markdown parser. The Include directive allows path traversal and cross-site scripting. First patched version is 3.3.0.
WHY IT MATTERSMistune appears in Python dependency trees for markdown rendering. An attacker controlling markdown input can read arbitrary files via path traversal or inject scripts via XSS, compromising data confidentiality and user sessions.
WHAT TO DOCheck requirements files and lock files for mistune < 3.3.0. If present, update to 3.3.0 or later in this patch cycle.
Model-reported confidence 85% (not measured accuracy) Primary source ↗ written by anthropic/claude-sonnet-4.5
Show the reasoning — raw diff, triage verdict, confidence
RAW DIFF
+ghsa_id: GHSA-h7ww-273w-6cm8
+summary: Mistune: Path Traversal and XSS in Include directive
+severity: high
+published_at: 2026-10-23T20:46:47Z
+cve_id: CVE-2026-115355
+vulnerabilities[].package.name: mistune
+vulnerabilities[].first_patched_version: 3.3.0
HOW IT WAS JUDGED
Triage signals below are model-reported assertions, preserved verbatim; they are not independent arithmetic verification.
triage verdictMATERIAL at 0.92, needed 0.5
triage reasoningMistune is a widely-used Python markdown parser. Path traversal and XSS in include directives are exploitable server-side risks.
signalsknown CVE with assigned ID · high severity rating · path traversal vulnerability · XSS vulnerability · first patched version identified (3.3.0) · mistune is a markdown parser in Python dependency trees
suppression—
triage modelanthropic/claude-haiku-4.5 ($0.00000)
writer modelanthropic/claude-sonnet-4.5 ($0.00000)