Mistune is a Python Markdown parser with renderers and plugins. Prior to 3.2.1, render_admonition() in src/mistune/directives/admonition.py concatenates the Admonition directive :class: option into the HTML class attribute without escaping, allowing attribute injection and cross-site scripting even when HTMLRenderer escape mode is enabled. This issue is fixed in version 3.2.1.
CVE-2026-59926
This medium-severity CVE scores 6.1 under NVD CVSS v3. EPSS exploit probability: 0.2%, top 91% of all CVEs by exploit prediction. GitHub Security Advisory data not yet ingested — confidence will rise once GHSA publishes (typical lag: hours to days for open-source ecosystem CVEs; never for infrastructure-only CVEs).
- Lower severity and no public exploit yet
No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.
- CVSS v3
- 6.1
- EG Score
- 6.1(medium)
- EPSS
- 8.9%
- KEV
- Not listed
Published
July 8, 2026
Last Modified
July 9, 2026
Advisory Details (3)
Auto-updated Jul 8, 2026XSS via unescaped class option in Admonition directive · Advisory · lepture/mistune · GitHub
https://github.com/lepture/mistune/security/advisories/GHSA-g97x-gvcm-x72hv3.2.1
Patch available: lepture/mistune v3.2.1
https://github.com/lepture/mistune/releases/tag/v3.2.1commit a3cb6e565530 (lepture/mistune)
Patch available: lepture/mistune v3.2.1 (contains commit a3cb6e565530)
https://github.com/lepture/mistune/commit/a3cb6e5655308797e8be021d6c7b5bab13cbace2Vendor Advisories for CVE-2026-59926(1)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
Weakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Data Freshness Timeline
(refreshed 20× in last 7d / 22× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
- 2026-07-15 16:57 UTCEPSS rescore
- 2026-07-15 16:57 UTCEPSS rescore
- 2026-07-15 16:43 UTCEG score recompute
- 2026-07-15 02:00 UTCEPSS rescore
- 2026-07-15 02:00 UTCEPSS rescore
- 2026-07-14 16:42 UTCEG score recompute
- 2026-07-13 22:31 UTCEPSS rescore
- 2026-07-13 16:40 UTCEG score recompute
- 2026-07-13 06:13 UTCEPSS rescore
- 2026-07-13 06:13 UTCEPSS rescore
- 2026-07-12 16:39 UTCEG score recompute
- 2026-07-12 05:46 UTCEPSS rescore
- 2026-07-11 16:37 UTCEG score recompute
- 2026-07-11 08:27 UTCEPSS rescore
- 2026-07-11 08:27 UTCEPSS rescore
- 2026-07-10 16:35 UTCEG score recompute▲ 0.80
- 2026-07-09 19:48 UTCNVD updateCVSS v3 → 6.1
- 2026-07-09 19:10 UTCEPSS rescore
- 2026-07-09 19:10 UTCEPSS rescore
- 2026-07-09 16:31 UTCEG score recompute
- 2026-07-08 16:24 UTCEG score recompute
- 2026-07-08 16:24 UTCMITRE cvelistV5first tracked
Related CVEs(same CWE)
Frequently asked(5)
What is CVE-2026-59926?
When was CVE-2026-59926 disclosed?
Is CVE-2026-59926 actively exploited?
What is the CVSS score of CVE-2026-59926?
How do I remediate CVE-2026-59926?
Dependency Blast Radius
Explore the affected products and dependency analysis for CVE-2026-59926
Is Your Infrastructure Affected by CVE-2026-59926?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.