CVE catalog

CVE-2026-44896

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 direct

[CVE catalog]

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

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.

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-1vulnerable
Debianmistuneforky3.1.4-1vulnerable
Debianmistunetrixie3.1.3-1vulnerable
Debianmistunebookworm2.0.4-1vulnerable
CpemistuneNot reportedNot reportedvulnerable
CpemistuneNot reportedNot reportedunknown
PyPImistuneNot reported3.2.1fixed
Susepython-mistunelinux enterprise server 16.03.1.3-160000.5.1fixed
Susepython-mistunelinux enterprise server for sap applications 16.03.1.3-160000.5.1fixed
Opensusepython-mistuneleap 16.03.1.3-160000.5.1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianmistunesourcesid(unfixed)not yet assignedNot reported[1138260]
Debianmistunesourceforky(unfixed)not yet assignedNot reported[1138260]
Debianmistunesourcetrixie(unfixed)not yet assignedNot reported[1138260]
Debianmistunesourcebookworm(unfixed)not yet assignedNot reported[1138260]
PyPImistunePyPINot reported3.2.1Not reportedGHSA-58CW-G322-P94VNot reported
Susepython-mistunerpmlinux enterprise server 16.03.1.3-160000.5.1Not reportedSUSE-SU-2026:22655-1Not reported
Susepython-mistunerpmlinux enterprise server for sap applications 16.03.1.3-160000.5.1Not reportedSUSE-SU-2026:22655-1Not reported
Opensusepython-mistunerpmleap 16.03.1.3-160000.5.1Not reportedOPENSUSE-SU-2026:21339-1Not reported

[Debian bug #1138260]

Notes

[trixie] mistune: Minor issue [bookworm] mistune: Minor issue

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [python3-mistune]Affected

    Source package: [mistune]

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

      Affected

      nvd · mistune · debian · bookworm; nvd · mistune · debian · 12

    • 2.0.4-1 · all · bookworm

      Affected

      nvd · mistune · debian · bookworm; nvd · mistune · debian · 12

[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

Observed:

References