Amenazas en vivo

Todas las CVE / Prismjs

CVE-2020-15138Prismjs Previewers

Alta 7.5 Sin autenticación

Prioridad
60
CVSS 3.1
7.5
EPSS
2.0%
probabilidad de explotación en 30 días · percentil 82
Requiere autenticación
No
Publicada
7 ago 2020
Actualizada
17 jun 2026
Categoría
Aplicación · Multiplataforma
Debilidad (CWE)
CWE-79
Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:L/A:L

Qué pasa

Prism is vulnerable to Cross-Site Scripting. The easing preview of the Previewers plugin has an XSS vulnerability that allows attackers to execute arbitrary code in Safari and Internet Explorer. This impacts all Safari and Internet Explorer users of Prism >=v1.1.0 that use the _Previewers_ plugin (>=v1.10.0) or the _Previewer: Easing_ plugin (v1.1.0 to v1.9.0). This problem is fixed in version 1.21.0. To workaround the issue without upgrading, disable the easing preview on all impacted code blocks. You need Prism v1.10.0 or newer to apply this workaround.

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 Previewers.
  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.1.0 < 1.21.0 1.21.0 npm install prismjs@1.21.0

Según OSV / GitHub Advisories (GHSA-wvhm-4hhf-97x9). Verifica la versión en tu lockfile antes de actualizar.

Productos afectados (CPE)

FabricanteProductoVersiones
prismjspreviewers≥ 1.1.0 < 1.21.0

Fuentes oficiales

Referencias

Enlaces publicados por las fuentes. Ábrelos con criterio.