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.
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
| Score | Rating | CVSS | Vector | Source |
|---|---|---|---|---|
| 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
- 31 Oct 2026, 15:04 UTC First seen by agentprime
- 31 Oct 2026, 15:04 UTC Confirmed by OSV