CVE catalog

CVE-2026-59926

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 th

[CVE catalog]

Severity
Medium · CVSS 5.4CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N
Published
Source
[NVD] · [CVE record]
EPSS
0.33% · Oct 25, 2026

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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianmistunesid3.4.0-1fixed
Debianmistuneforky3.1.4-1fixed
Debianmistunetrixie3.1.3-1vulnerable
Debianmistunebookworm2.0.4-1not affected
CpemistuneNot reported3.3.0fixed
PipmistuneNot reported3.3.0fixed
PyPImistuneNot reported3.3.0fixed
CpemistuneNot reported3.3.0fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianmistunesourcesid3.1.4-1not yet assignedNot reported[1141770]
Debianmistunesourceforky3.1.4-1not yet assignedNot reported[1141770]
Debianmistunesourcetrixie(unfixed)not yet assignedNot reported[1141770]
DebianmistunesourcebookwormNot affectedunimportantNot reported[1141770]
CpemistunecpeNot reported3.3.0Not reportedNot reportedNot reported
PipmistunepipNot reported3.3.0Not reportedNot reportedNot reported
PyPImistunePyPINot reported3.3.0Not reportedNot reportedNot reported
CpemistunecpeNot reported3.3.0Not reportedNVD-CVE-2026-59926Not reported

[Debian bug #1141770]

Notes

[trixie] mistune: Minor issue

OpenFactory catalog packages

[Debian 13 (Trixie)]

  • [python3-mistune]Affected

    Source package: [mistune]

    Details (2)
    • 3.1.3-1 · all · trixie

      Affected

      nvd · mistune · debian · 13

    • 3.1.3-1 · all · trixie

      Affected

      nvd · mistune · debian · 13

[Debian 12 (Bookworm)]

  • [python3-mistune]Not affected

    Source package: [mistune]

    Details (2)
    • 2.0.4-1 · all · bookworm

      Not affected

      nvd · mistune · debian · bookworm

    • 2.0.4-1 · all · bookworm

      Not affected

      nvd · mistune · debian · bookworm

Observed:

References