SecurityContext

CVE-2026-44896: Mistune - Stored XSS

  • Cve: CVE-2026-44896
  • Name: Mistune - Stored XSS
  • Description: Mistune is a Python Markdown parser with renderers and plugins. In 3.2.0 and earlier, in src/mistune/directives/image.py, the render_figure() function concatenates figclass and figwidth options directly into HTML attributes without escaping. This allows attribute injection and XSS even when HTMLRenderer(escape=True) is used, because these values bypass the inline renderer. Version 3.2.1 contains a patch.
  • Impact: Attackers can inject malicious HTML attributes leading to cross-site scripting, potentially compromising user data or session.
  • Remediation: Update to the latest version of Mistune.
  • 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.00198
  • Epss percentile: 0.09562
  • Assignee: [email protected]
  • Published at: 2026-05-26T21:16:39Z
  • Age in days: 182
  • Modified at: 2026-07-24T11:10:00Z
  • References total: 2
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-44896
  • Nvd status: modified
  • Checked, none or zero: patch available, 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

UrlSourceTags
https://github.com/lepture/mistune/security/advisories/GHSA-58cw-g322-p94vnvdVendor Advisory
https://github.com/lepture/mistune/commit/a3cb6e5655308797e8be021d6c7b5bab13cbace2nvd

Products

ProductAffectedPlatform boundSourcesUrl
mistune_project:mistune<= 3.2.0nonvd/v1/products/mistune_project/mistune

Projects

RepositoryLink kindsIndexedUrl
lepture/mistunecommit, fix, package, security_advisoryyes/v1/repositories/lepture/mistune

Index

  • Repositories: 433
  • Repositories high signal: 279
  • 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