Machine-written summary
Summary written by Claude Haiku from the source advisory. Not reviewed by a person.
GHSA-v87v-83h2-53w7 affects the mistune package before 3.2.1. The HTML renderer inserts the heading `id` attribute value without escaping it, so when a custom `heading_id` callback returns raw heading text, an attacker who controls that text can break out of the attribute and add event handlers, which can lead to script execution in a user's browser. Upgrade to mistune 3.2.1 or later. Until then, do not use a `heading_id` callback that returns unsanitised heading text.
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, 14:29 UTC First seen by agentprime
- 31 Oct 2026, 14:29 UTC Confirmed by OSV