Amenazas en vivo

Todas las CVE / Katex

CVE-2025-23207Katex

Alta 7.2 Sin autenticación

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
Debilidad (CWE)
CWE-116, CWE-79
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.

Texto original de NVD, en inglés. La traducción y el resumen en español llegan pronto.

Qué hacer

  1. Aplica la actualización de seguridad del fabricante para Katex.
  2. Se explota sin autenticación: si no puedes parchear ya, limita el acceso desde Internet al servicio afectado.

Paquetes afectados

EcosistemaPaqueteVersiones afectadasCorregida enCó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)

FabricanteProductoVersiones
katexkatex≥ 0.12.0 < 0.16.21

Fuentes oficiales

Referencias

Enlaces publicados por las fuentes. Ábrelos con criterio.