Amenazas en vivo

Todas las CVE / Prismjs

CVE-2021-32723Prismjs Prism

Media 6.5 Sin autenticación

Prioridad
54
CVSS 3.1
6.5
EPSS
1.4%
probabilidad de explotación en 30 días · percentil 73
Requiere autenticación
No
Publicada
28 jun 2021
Actualizada
17 jun 2026
Categoría
Aplicación · Multiplataforma
Debilidad (CWE)
CWE-400
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

Qué pasa

Prism is a syntax highlighting library. Some languages before 1.24.0 are vulnerable to Regular Expression Denial of Service (ReDoS). When Prism is used to highlight untrusted (user-given) text, an attacker can craft a string that will take a very very long time to highlight. This problem has been fixed in Prism v1.24. As a workaround, do not use ASCIIDoc or ERB to highlight untrusted text. Other languages are not affected and can be used to highlight untrusted text.

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 Prism.
  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 prismjs < 1.24.0 1.24.0 npm install prismjs@1.24.0

Según OSV / GitHub Advisories (GHSA-gj77-59wh-66hg). Verifica la versión en tu lockfile antes de actualizar.

Productos afectados (CPE)

FabricanteProductoVersiones
prismjsprism< 1.24.0
oracleapplication_express< 21.1.4

Fuentes oficiales

Referencias

Enlaces publicados por las fuentes. Ábrelos con criterio.