CVE-2026-59926: Mistune - Stored XSS
- Cve: CVE-2026-59926
- Name: Mistune - Stored XSS
- Description: 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.
- Impact: Attackers can execute arbitrary scripts in users' browsers, leading to session hijacking or data theft.
- Remediation: Update to version 3.2.1 or later.
- Vulnerability type: stored_xss
- Vulnerability impact: stored_xss
- Requirement type: none
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 6.1
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- Epss score: 0.00327
- Epss percentile: 0.26024
- Assignee: [email protected]
- Published at: 2026-07-08T17:17:28Z
- Age in days: 139
- Modified at: 2026-10-25T17:10:00Z
- Patch available: yes
- References total: 3
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-59926
- Nvd status: analyzed
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-79 | Improper Neutralization of Input During Web Page Generation |
References
Same in every row:
- Source: nvd
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| mistune_project:mistune | < 3.3.0 | no | nvd | /v1/products/mistune_project/mistune |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| lepture/mistune | commit, fix, package, releases, security_advisory | yes | /v1/repositories/lepture/mistune |
Index
- Repositories: 439
- Repositories high signal: 282
- Packages: 1
Exploitation
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts