Amenazas en vivo

Todas las CVE / Katex

CVE-2024-28244Katex

Media 6.5

Prioridad
39
CVSS 3.1
6.5
EPSS
3.0%
probabilidad de explotación en 30 días · percentil 88
Requiere autenticación
Sí
Publicada
25 mar 2024
Actualizada
17 jun 2026
Categoría
Aplicación · Multiplataforma
Debilidad (CWE)
CWE-674
SSVC (CISA)
Explotación: ninguna · Automatizable: no · Impacto técnico: parcial
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Qué pasa

KaTeX is a JavaScript library for TeX math rendering on the web. KaTeX users who render untrusted mathematical expressions could encounter malicious input using `\def` or `\newcommand` that causes a near-infinite loop, despite setting `maxExpand` to avoid such loops. KaTeX supports an option named maxExpand which aims to prevent infinitely recursive macros from consuming all available memory and/or triggering a stack overflow error. Unfortunately, support for "Unicode (sub|super)script characters" allows an attacker to bypass this limit. Each sub/superscript group instantiated a separate Parser with its own limit on macro executions, without inheriting the current count of macro executions from its parent. This has been corrected in KaTeX v0.16.10.

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.

Paquetes afectados

EcosistemaPaqueteVersiones afectadasCorregida enCómo actualizar
npm katex ≥ 0.15.4 < 0.16.10 0.16.10 npm install katex@0.16.10

Según OSV / GitHub Advisories (GHSA-cvr6-37gx-v8wc). Verifica la versión en tu lockfile antes de actualizar.

Productos afectados (CPE)

FabricanteProductoVersiones
katexkatex≥ 0.15.4 < 0.16.10

Fuentes oficiales

Referencias

Enlaces publicados por las fuentes. Ábrelos con criterio.