Machine-written summary
Summary written by Claude Haiku from the source advisory. Not reviewed by a person.
Mistune versions before 3.3.0 do not escape the `:class:` option of the Admonition directive when rendering HTML, so the value goes straight into a class attribute. An attacker who can supply Markdown content can inject attributes and run cross-site scripting, even when HTMLRenderer(escape=True) is set. Upgrade mistune to 3.3.0 or later.
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 |
|---|---|---|---|---|
| 5.3 | Medium | 4.0 | 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 | CNA (GitHub_M) |
- CISA KEV Not listed.
- EPSS 0.0033, the 26th percentile, on 16 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.
Timeline
- 31 Oct 2026, 14:42 UTC First seen by agentprime
- 31 Oct 2026, 14:42 UTC Confirmed by OSV
Sources
- GitHub Advisory Database: GHSA-g97x-gvcm-x72h
- OSV: GHSA-g97x-gvcm-x72h
- github.com/lepture/mistune/security/advisories/GHSA-g97x-gvcm-x72h
- nvd.nist.gov/vuln/detail/CVE-2026-59926
- github.com/lepture/mistune/commit/a3cb6e5655308797e8be021d6c7b5bab13cbace2
- github.com/lepture/mistune
- github.com/lepture/mistune/releases/tag/v3.2.1
- github.com/pypa/advisory-database/tree/main/vulns/mistune/PYSEC-2026-2214.yaml