CVE-2025-23207Katex
Alta 7.2 Sin autenticación
Seguir: esta CVE · Katex · Katex Te avisamos por email o Slack (requiere cuenta).
- Prioridad
- 58
- CVSS 3.1
- 7.2
- EPSS
- —
- Requiere autenticación
- No
- Publicada
- 17 ene 2025
- Actualizada
- 17 jun 2026
- Categoría
- Aplicación · Multiplataforma
- SSVC (CISA)
- Explotación: ninguna · Automatizable: no · Impacto técnico: parcial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N
Qué pasa
KaTeX is a fast, easy-to-use JavaScript library for TeX math rendering on the web. KaTeX users who render untrusted mathematical expressions with `renderToString` could encounter malicious input using `\htmlData` that runs arbitrary JavaScript, or generate invalid HTML. Users are advised to upgrade to KaTeX v0.16.21 to remove this vulnerability. Users unable to upgrade should avoid use of or turn off the `trust` option, or set it to forbid `\htmlData` commands, forbid inputs containing the substring `"\\htmlData"` and sanitize HTML output from KaTeX.
Qué hacer
- Aplica la actualización de seguridad del fabricante para Katex.
- 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 |
|---|---|---|---|---|
| npm | katex |
≥ 0.12.0 < 0.16.21 |
0.16.21 |
npm install katex@0.16.21 |
Según OSV / GitHub Advisories (GHSA-cg87-wmx4-v546). Verifica la versión en tu lockfile antes de actualizar.
Productos afectados (CPE)
| Fabricante | Producto | Versiones |
|---|---|---|
| katex | katex | ≥ 0.12.0 < 0.16.21 |
Fuentes oficiales
Referencias
Enlaces publicados por las fuentes. Ábrelos con criterio.
- github.com Patch
- github.com Third Party Advisory