CVE-2026-44896 json
Mistune: XSS via unescaped figclass/figwidth in Figure directive
published 2026-05-08 6 mo ago modified 2026-09-10 1 mo ago also GHSA-58cw-g322-p94v , PYSEC-2026-168 , EUVD-2026-31991
- cvss
- 6.1
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.2%
- EPSS 0.2% chance of exploitation in 30 days, percentile 9%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- pypi mistune 3.2.1
- python-mistune SLES for SAP applications 16.0, SLES 16.0 3.1.3-160000.5.1
suse advisories SUSE-SU-2026:22655-1
- python-mistune openSUSE Leap 16.0 3.1.3-160000.5.1
opensuse advisories openSUSE-SU-2026:21339-1
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2026-44896 updated cvss 5.4
mistune: Mistune: Cross-Site Scripting (XSS) via unescaped HTML attributes
-
Red Hat Migration Toolkit for Applications 8 mta/mta-solution-server-rhel9 Red Hat OpenShift AI (RHOAI) rhoai/odh-th06-cpu-torch210-py312-rhel9, rhoai/odh-th06-cpu-torch291-py312-rhel9, rhoai/odh-th06-rocm64-torch291-py312-rhel9, rhoai/odh-th06-cuda130-torch210-py312-rhel9, rhoai/odh-th06-cuda130-torch291-py312-rhel9, rhoai/odh-pipeline-runtime-minimal-cpu-py312-rhel9, +16 more Red Hat OpenShift Container Platform 4 python-mistune Red Hat Satellite 6 satellite/iop-advisor-engine-rhel9affected: workaround, no fix available “Fix deferred”
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- yes
- Technical impact
- partial
- Assessed
- 5 mo ago
Exploit prediction
0.20% chance of exploitation in the next 30 days, higher than 9% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 4.0 | 5.3 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N |
| CNA | 4.0 | 5.3 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| NVD | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| GitHub | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| OSV | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | mistune | <3.2.1 |
3.2.1 |
Affected products
- lepture mistune
Classification
- Weakness
-
- CWE-79 Improper Neutralization of Input During Web Page Generation
References
-
github.com
/lepture/mistune/commit/a3cb6e5655308797e8be021d6c7b5bab13cbace2
web
-
github.com
/lepture/mistune/security/advisories/GHSA-58cw-g322-p94v
web, vendor-advisory, advisory
-
nvd.nist.gov
/vuln/detail/CVE-2026-44896
advisory
-
github.com
/lepture/mistune
package
-
github.com
/pypa/advisory-database/tree/main/vulns/mistune/PYSEC-2026-168.yaml
web
Sources
- CVE List CVE-2026-44896
- GitHub Advisory GHSA-58cw-g322-p94v
- NVD CVE-2026-44896
- OSV PYSEC-2026-168
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.