
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
- Severity
- Medium · CVSS 6.1
CVSS: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.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | mistune | sid | 3.4.0-1 | vulnerable |
| Debian | mistune | forky | 3.1.4-1 | vulnerable |
| Debian | mistune | trixie | 3.1.3-1 | vulnerable |
| Debian | mistune | bookworm | 2.0.4-1 | vulnerable |
| Cpe | mistune | Not reported | Not reported | vulnerable |
| Cpe | mistune | Not reported | Not reported | unknown |
| PyPI | mistune | Not reported | 3.2.1 | fixed |
| Suse | python-mistune | linux enterprise server 16.0 | 3.1.3-160000.5.1 | fixed |
| Suse | python-mistune | linux enterprise server for sap applications 16.0 | 3.1.3-160000.5.1 | fixed |
| Opensuse | python-mistune | leap 16.0 | 3.1.3-160000.5.1 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | mistune | source | sid | (unfixed) | not yet assigned | Not reported | [1138260] |
| Debian | mistune | source | forky | (unfixed) | not yet assigned | Not reported | [1138260] |
| Debian | mistune | source | trixie | (unfixed) | not yet assigned | Not reported | [1138260] |
| Debian | mistune | source | bookworm | (unfixed) | not yet assigned | Not reported | [1138260] |
| PyPI | mistune | PyPI | Not reported | 3.2.1 | Not reported | GHSA-58CW-G322-P94V | Not reported |
| Suse | python-mistune | rpm | linux enterprise server 16.0 | 3.1.3-160000.5.1 | Not reported | SUSE-SU-2026:22655-1 | Not reported |
| Suse | python-mistune | rpm | linux enterprise server for sap applications 16.0 | 3.1.3-160000.5.1 | Not reported | SUSE-SU-2026:22655-1 | Not reported |
| Opensuse | python-mistune | rpm | leap 16.0 | 3.1.3-160000.5.1 | Not reported | OPENSUSE-SU-2026:21339-1 | Not reported |
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 · bookwormAffected
nvd · mistune · debian · bookworm; nvd · mistune · debian · 12
2.0.4-1· all · bookwormAffected
nvd · mistune · debian · bookworm; nvd · mistune · debian · 12
[Debian 13 (Trixie)]
- [python3-mistune]Affected
Source package: [mistune]
Details (2)
3.1.3-1· all · trixieAffected
nvd · mistune · debian · 13
3.1.3-1· all · trixieAffected
nvd · mistune · debian · 13
Observed:
References
- [https://ftp.suse.com/pub/projects/security/csaf/opensuse-su-2026_20827-1.json]
- [https://nvd.nist.gov/vuln/detail/CVE-2026-44896]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2026-44896]
- [https://osv.dev/vulnerability/GHSA-58cw-g322-p94v]
- [https://osv.dev/vulnerability/SUSE-SU-2026:22655-1]
- [https://osv.dev/vulnerability/openSUSE-SU-2026:21339-1]
- [https://security-tracker.debian.org/tracker/CVE-2026-44896]
- [https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-44896.json]
[Debian Security Tracker] · [FIRST EPSS] · [National Vulnerability Database (NVD)] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX]