Advisory record · GHSA-6269-cqxg-mhhv

Mistune TOC Anchor Injection XSS

CVSS 6.1 MediumEPSS 0.0023 · 13th percentile

Published by the GitHub Advisory Database at 14 May 2026, 16:36 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
mistunePyPI>=3.2.0, <3.2.13.2.1
Identifiers
GHSA-6269-cqxg-mhhv · CVE-2026-44898 · PYSEC-2026-2208
Weakness (CWE)
CWE-79
Published
14 May 2026
Updated
13 Jul 2026

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

The mistune package, versions 3.2.0 before 3.2.1, is vulnerable to cross-site scripting in its table-of-contents rendering. When heading IDs are generated from user-supplied heading text, an attacker who can supply that text can break out of the link attribute and inject HTML, including script, into the rendered TOC. Upgrade to mistune 3.2.1. The source gives no workaround beyond that.

Written 6 Nov 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
6.1 Medium 3.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N CNA (GitHub_M)
  • CISA KEV Not listed.
  • EPSS 0.0023, the 13th percentile, on 17 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 31 Oct 2026, 15:04 UTC First seen by agentprime
  2. 31 Oct 2026, 15:04 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.