SecurityContext

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

IdName
CWE-79Improper Neutralization of Input During Web Page Generation

References

Same in every row:

  • Source: nvd
UrlTags
https://github.com/lepture/mistune/commit/a3cb6e5655308797e8be021d6c7b5bab13cbace2Patch
https://github.com/lepture/mistune/security/advisories/GHSA-g97x-gvcm-x72hVendor Advisory
https://github.com/lepture/mistune/releases/tag/v3.2.1Release Notes

Products

ProductAffectedPlatform boundSourcesUrl
mistune_project:mistune< 3.3.0nonvd/v1/products/mistune_project/mistune

Projects

RepositoryLink kindsIndexedUrl
lepture/mistunecommit, fix, package, releases, security_advisoryyes/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