CVSS 3.1
6.1 mediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:NMedium (6.1) in mistune project mistune. EPSS 0.2% estimated probability of exploitation activity in the next 30 days. Fixed in mistune 3.2.1.
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:Nmistune (PyPI): fixed in 3.2.1Explain CVE-2026-44897 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-44897?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-44897?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-44897 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
From the NVD's CPE matches.
| Product | Affected |
|---|---|
| mistune_project:mistune | before 3.2.1 |
| Advisory | Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|---|
| GHSA-v87v-83h2-53w7 | PyPI | mistune | <3.2.1 | 3.2.1 |
| PYSEC-2026-2207 | PyPI | mistune | <3.2.1 | 3.2.1 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 12, 13 | mistune | no fix listed | DEBIAN-CVE-2026-44897 |
| Debian | 14 | mistune | 3.3.4-1 | DEBIAN-CVE-2026-44897 |
| Ubuntu | 16.04:LTS, 18.04:LTS, 20.04:LTS and 2 more | mistune | no fix listed | UBUNTU-CVE-2026-44897 |
| Ubuntu | 22.04:LTS | mistune0 | no fix listed | UBUNTU-CVE-2026-44897 |
| Ubuntu | 25.10, 26.10 | mistune, mistune0 | no fix listed | UBUNTU-CVE-2026-44897 |
| openSUSE | Tumbleweed | python-mistune | 3.2.1-1.1 | openSUSE-SU-2026:10761-1 |
| Azure Linux | 3 | python-mistune | 3.2.1-1 | AZL-88400 |
From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · openSUSE.
Red Hat rates this Moderate.
This Moderate flaw in Mistune, a Python Markdown parser, allows for Cross-Site Scripting (XSS) due to improper sanitization of HTML heading ID attributes. This is particularly relevant in Red Hat products that utilize custom `heading_id` callbacks to generate human-readable slug anchors from user-controlled heading text, as an attacker could inject arbitrary attributes into the HTML heading element. The default `add_toc_hook()` is not affected as it generates safe, auto-incremented IDs.
Upgrade to Mistune 3.1.4 or later. As a workaround, avoid using custom heading_id callbacks that derive IDs from user-controlled heading text without sanitization. The default add_toc_hook() with auto-incremented IDs is not affected.
| Product | Package | State | Advisory |
|---|---|---|---|
| Migration Toolkit for Applications 8 | mta/mta-solution-server-rhel9 | Fix deferred | |
| Red Hat OpenShift AI (RHOAI) | rhoai/odh-pipeline-runtime-datascience-cpu-py312-rhel9 | Fix deferred | |
| Red Hat OpenShift AI (RHOAI) | rhoai/odh-pipeline-runtime-minimal-cpu-py312-rhel9 | Fix deferred | |
| Red Hat OpenShift AI (RHOAI) | rhoai/odh-pipeline-runtime-pytorch-cuda-py312-rhel9 | Fix deferred | |
| Red Hat OpenShift AI (RHOAI) | rhoai/odh-pipeline-runtime-pytorch-llmcompressor-cuda-py312-rhel9 | Fix deferred | |
| Red Hat OpenShift AI (RHOAI) | rhoai/odh-pipeline-runtime-pytorch-rocm-py312-rhel9 | Fix deferred | |
| Red Hat OpenShift AI (RHOAI) | rhoai/odh-pipeline-runtime-tensorflow-cuda-py312-rhel9 | Fix deferred | |
| Red Hat OpenShift AI (RHOAI) | rhoai/odh-pipeline-runtime-tensorflow-rocm-py312-rhel9 | Fix deferred | |
| Red Hat OpenShift AI (RHOAI) | rhoai/odh-th06-cpu-torch210-py312-rhel9 | Fix deferred | |
| Red Hat OpenShift AI (RHOAI) | rhoai/odh-th06-cpu-torch291-py312-rhel9 | Fix deferred | |
| Red Hat OpenShift AI (RHOAI) | rhoai/odh-th06-cuda130-torch210-py312-rhel9 | Fix deferred | |
| Red Hat OpenShift AI (RHOAI) | rhoai/odh-th06-cuda130-torch291-py312-rhel9 | Fix deferred | |
| Red Hat OpenShift AI (RHOAI) | rhoai/odh-th06-rocm64-torch291-py312-rhel9 | Fix deferred | |
| Red Hat OpenShift AI (RHOAI) | rhoai/odh-workbench-jupyter-datascience-cpu-py312-rhel9 | Fix deferred | |
| Red Hat OpenShift AI (RHOAI) | rhoai/odh-workbench-jupyter-minimal-cpu-py312-rhel9 | Fix deferred | |
| Red Hat OpenShift AI (RHOAI) | rhoai/odh-workbench-jupyter-minimal-cuda-py312-rhel9 | Fix deferred | |
| Red Hat OpenShift AI (RHOAI) | rhoai/odh-workbench-jupyter-minimal-rocm-py312-rhel9 | Fix deferred | |
| Red Hat OpenShift AI (RHOAI) | rhoai/odh-workbench-jupyter-pytorch-cuda-py312-rhel9 | Fix deferred | |
| Red Hat OpenShift AI (RHOAI) | rhoai/odh-workbench-jupyter-pytorch-llmcompressor-cuda-py312-rhel9 | Fix deferred | |
| Red Hat OpenShift AI (RHOAI) | rhoai/odh-workbench-jupyter-pytorch-rocm-py312-rhel9 | Fix deferred | |
| 5 more in the JSON and on Red Hat's page. | |||
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-44897.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.