Todas las CVE / Mistune Project
CVE-2026-44898Mistune Project Mistune
Media 6.1 Sin autenticación
Seguir: esta CVE · Mistune Project · Mistune Project Mistune Te avisamos por email o Slack (requiere cuenta).
- Prioridad
- 52
- CVSS 3.1
- 6.1
- EPSS
- —
- Requiere autenticación
- No
- Publicada
- 26 may 2026
- Actualizada
- 24 jul 2026
- Categoría
- Aplicación · Multiplataforma
- Debilidad (CWE)
- CWE-79
- SSVC (CISA)
- Explotación: prueba de concepto · Automatizable: no · Impacto técnico: parcial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Qué pasa
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.
Qué hacer
- Aplica la actualización de seguridad del fabricante para Mistune.
- Se explota sin autenticación: si no puedes parchear ya, limita el acceso desde Internet al servicio afectado.
Paquetes afectados
| Ecosistema | Paquete | Versiones afectadas | Corregida en | Cómo actualizar |
|---|---|---|---|---|
| PyPI | mistune |
≥ 3.2.0 < 3.2.1 |
3.2.1 |
pip install "mistune>=3.2.1" |
| PyPI | mistune |
< 3.2.1 |
3.2.1 |
pip install "mistune>=3.2.1" |
Según OSV / GitHub Advisories (GHSA-6269-cqxg-mhhv, PYSEC-2026-2208). Verifica la versión en tu lockfile antes de actualizar.
Productos afectados (CPE)
| Fabricante | Producto | Versiones |
|---|---|---|
| mistune_project | mistune | < 3.2.1 |
Boletines oficiales
- Security update for python-mistune · SUSE · SUSE-SU-2026:2949-1 · 14 jul 2026 Media
Avisos de fabricantes, CERT y distribuciones que nombran esta CVE. Títulos sin modificar.
Fuentes oficiales
Referencias
Enlaces publicados por las fuentes. Ábrelos con criterio.
- github.com Product Release Notes
- github.com Exploit Vendor Advisory