CVE-2024-28246Katex
Media 5.4 Sin autenticación
Seguir: esta CVE · Katex · Katex Te avisamos por email o Slack (requiere cuenta).
- Prioridad
- 47
- CVSS 3.1
- 5.4
- EPSS
- 0.5% probabilidad de explotación en 30 días · percentil 40
- Requiere autenticación
- No
- Publicada
- 25 mar 2024
- 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:R/S:U/C:L/I:L/A:N
Qué pasa
KaTeX is a JavaScript library for TeX math rendering on the web. Code that uses KaTeX's `trust` option, specifically that provides a function to blacklist certain URL protocols, can be fooled by URLs in malicious inputs that use uppercase characters in the protocol. In particular, this can allow for malicious input to generate `javascript:` links in the output, even if the `trust` function tries to forbid this protocol via `trust: (context) => context.protocol !== 'javascript'`. Upgrade to KaTeX v0.16.10 to remove this vulnerability.
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.11.0 < 0.16.10 |
0.16.10 |
npm install katex@0.16.10 |
Según OSV / GitHub Advisories (GHSA-3wc5-fcw2-2329). Verifica la versión en tu lockfile antes de actualizar.
Productos afectados (CPE)
| Fabricante | Producto | Versiones |
|---|---|---|
| katex | katex | ≥ 0.11.0 < 0.16.10 |
Fuentes oficiales
Referencias
Enlaces publicados por las fuentes. Ábrelos con criterio.
- github.com Patch
- github.com Mitigation Third Party Advisory