CVE-2021-32723Prismjs Prism
Media 6.5 Sin autenticación
Seguir: esta CVE · Prismjs · Prismjs Prism Te avisamos por email o Slack (requiere cuenta).
- 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.
Qué hacer
- Aplica la actualización de seguridad del fabricante para Prism.
- 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 | 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)
| Fabricante | Producto | Versiones |
|---|---|---|
| prismjs | prism | < 1.24.0 |
| oracle | application_express | < 21.1.4 |
Fuentes oficiales
Referencias
Enlaces publicados por las fuentes. Ábrelos con criterio.
- github.com Patch Third Party Advisory
- github.com Patch Third Party Advisory
- github.com Third Party Advisory
- www.oracle.com Patch Third Party Advisory