
Catálogo de CVE
CVE-2026-44898
Mistune is a Python Markdown parser with renderers and…
Mistune is a Python Markdown parser with renderers and plugins. Prior to 3.2.1, render_toc_ul() builds a <ul> table-of-contents tree from a list of (level, id, text) tuples. Both the id value (used as href="#<id>") and the text value (used as the visible link label) are inserted into <a> tags via a plain Python format string — with no HTML escaping applied to either value. When heading IDs are derived from user-supplied heading text (the standard use-case for readable slug anchors), an attacker can craft a heading whose text breaks out of the href="#..." attribute context, injecting arbitrary HTML tags including <script> blocks directly into the rendered TOC. This vulnerability is fixed in 3.2.1.
- Gravidade
- 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.23% · Oct 27, 2026
Projects and upstream resources
Reported versions and fixes
Each observation applies to its named package, distribution, and release. Distribution backports can fix a vulnerability while retaining an older upstream version number.
| Distribution / release | Package | Version | Status | Source |
|---|---|---|---|---|
| Debiansid | mistune | 3.3.4-1 | FixedDistribution-reported fixed boundary | [CVE-2026-44898] |
| Debiansid | mistune | 3.4.0-1 | Fixed | [CVE-2026-44898] |
Showing 2 fix observations. All 12 observations, including unknown and conflicting reports, are available below.
Provider details and historical evidence
| Distribution / release | Package | Version | Status | Source |
|---|---|---|---|---|
| UnknownRelease not reported | mistune | Not reported | UnknownSource applicability is not established | Provider not reported |
| PyPIRelease not reported | mistune | 3.2.1 | UnknownSource applicability is not established | Provider not reported |
| UnknownRelease not reported | mistune | 3.2.1 | UnknownSource applicability is not established | Provider not reported |
| Debianbookworm | mistune | Not reported | AffectedDistribution reports no fix | [CVE-2026-44898] |
| Debianbookworm | mistune | 2.0.4-1 | Affected | [CVE-2026-44898] |
| Debianforky | mistune | Not reported | AffectedDistribution reports no fix | [CVE-2026-44898] |
| Debianforky | mistune | 3.1.4-1 | Affected | [CVE-2026-44898] |
| Debiansid | mistune | 3.3.4-1 | FixedDistribution-reported fixed boundary | [CVE-2026-44898] |
| Debiansid | mistune | 3.4.0-1 | Fixed | [CVE-2026-44898] |
| Debiantrixie | mistune | Not reported | AffectedDistribution reports no fix | [CVE-2026-44898] |
| Debiantrixie | mistune | 3.1.3-1 | Affected | [CVE-2026-44898] |
| Suselinux enterprise module for python 3 15 sp7 | python-mistune | 2.0.5-150400.11.8.1 | UnknownSource applicability is not established | [SUSE-SU-2026:2949-1] |
Original provider fields
{
"package_releases": [
{
"name": "mistune",
"status": "fixed",
"release": "sid",
"version": "3.4.0-1"
},
{
"name": "mistune",
"status": "vulnerable",
"release": "forky",
"version": "3.1.4-1"
},
{
"name": "mistune",
"status": "vulnerable",
"release": "trixie",
"version": "3.1.3-1"
},
{
"name": "mistune",
"status": "vulnerable",
"release": "bookworm",
"version": "2.0.4-1"
}
],
"fixed_versions": [
{
"bug": 1138260,
"name": "mistune",
"type": "source",
"origin": null,
"release": "sid",
"urgency": "not yet assigned",
"fixed_version": "3.3.4-1"
},
{
"bug": 1138260,
"name": "mistune",
"type": "source",
"origin": null,
"release": "forky",
"urgency": "not yet assigned",
"fixed_version": ""
},
{
"bug": 1138260,
"name": "mistune",
"type": "source",
"origin": null,
"release": "trixie",
"urgency": "not yet assigned",
"fixed_version": ""
},
{
"bug": 1138260,
"name": "mistune",
"type": "source",
"origin": null,
"release": "bookworm",
"urgency": "not yet assigned",
"fixed_version": ""
}
],
"distribution_packages": [
{
"name": "mistune",
"fixed_version": "not yet fixed",
"applicability_unknown": true
},
{
"name": "mistune",
"fixed_version": "3.2.1",
"applicability_unknown": true
},
{
"name": "mistune",
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "3.2.1"
}
]
}
],
"ecosystem": "PyPI",
"fixed_version": "3.2.1",
"applicability_unknown": true
},
{
"name": "python-mistune",
"distro": "suse",
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "2.0.5-150400.11.8.1"
}
]
}
],
"release": "linux enterprise module for python 3 15 sp7",
"versions": [],
"ecosystem": "rpm",
"provider_url": "https://osv.dev/vulnerability/SUSE-SU-2026:2949-1",
"fixed_version": "2.0.5-150400.11.8.1",
"provider_source": "pypi",
"provider_record_id": "SUSE-SU-2026:2949-1",
"provider_updated_at": "2026-07-15T10:00:06.155958260Z",
"applicability_unknown": true
}
]
}Publisher notes
[trixie] mistune: Minor issue [bookworm] mistune: Minor issue
OpenFactory catalog packages
A associação de pacotes está em andamento.
[Debian 12 (Bookworm)]
- [python3-mistune]Desconhecido
Pacote fonte: [mistune]
Detalhes (2)
2.0.4-1· all · bookwormAfetada
nvd · mistune · debian · bookworm; nvd · mistune · debian · 12
2.0.4-1· all · bookwormAfetada
nvd · mistune · debian · bookworm; nvd · mistune · debian · 12
[Debian 13 (Trixie)]
- [python3-mistune]Desconhecido
Pacote fonte: [mistune]
Detalhes (2)
3.1.3-1· all · trixieAfetada
nvd · mistune · debian · 13
3.1.3-1· all · trixieAfetada
nvd · mistune · debian · 13
Observado:
Referências
- [https://ftp.suse.com/pub/projects/security/csaf/opensuse-su-2026_20827-1.json]
- [https://nvd.nist.gov/vuln/detail/CVE-2026-44898]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2026-44898]
- [https://osv.dev/vulnerability/PYSEC-2026-2208]
- [https://osv.dev/vulnerability/SUSE-SU-2026:2949-1]
- [https://security-tracker.debian.org/tracker/CVE-2026-44898]
- [https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-44898.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]