Todas las CVE / Mermaid Project
CVE-2026-41159Mermaid Project Mermaid
Media 5.3 Sin autenticación
Seguir: esta CVE · Mermaid Project · Mermaid Project Mermaid Te avisamos por email o Slack (requiere cuenta).
- Prioridad
- 47
- CVSS 4.0
- 5.3
- EPSS
- —
- Requiere autenticación
- No
- Publicada
- 29 may 2026
- Actualizada
- 21 jul 2026
- Categoría
- Aplicación · Multiplataforma
- Debilidad (CWE)
- CWE-94
- SSVC (CISA)
- Explotación: ninguna · Automatizable: no · Impacto técnico: parcial
- Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:N/SC:L/SI:L/SA:L/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Qué pasa
Mermaid is a JavaScript tool that uses Markdown-inspired text to create and modify diagrams and charts. Prior to 10.9.6 and 11.15.0, Mermaid's default configuration allows injecting CSS that applies outside of the Mermaid diagram via the fontFamily, themeCSS, and altFontFamily configuration options. The injected CSS exploits stylis's & (scope reference) handling. :not(&) escapes the #mermaid-xxx automatic scoping, applying styles to all page elements. Global at-rules (@font-face, @keyframes, @counter-style) are also injectable as stylis hoists them to top level. This allows page defacement and DOM attribute exfiltration via CSS :has() selectors. This vulnerability is fixed in 10.9.6 and 11.15.0.
Qué hacer
- Aplica la actualización de seguridad del fabricante para Mermaid.
- 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 | mermaid |
≥ 11.0.0-alpha.1 < 11.15.0 |
11.15.0 |
npm install mermaid@11.15.0 |
| npm | mermaid |
< 10.9.6 |
10.9.6 |
npm install mermaid@10.9.6 |
Según OSV / GitHub Advisories (GHSA-87f9-hvmw-gh4p). Verifica la versión en tu lockfile antes de actualizar.
Productos afectados (CPE)
| Fabricante | Producto | Versiones |
|---|---|---|
| mermaid_project | mermaid | < 10.9.6 |
| mermaid_project | mermaid | ≥ 11.0.0 < 11.15.0 |
Fuentes oficiales
Referencias
Enlaces publicados por las fuentes. Ábrelos con criterio.
- github.com
- github.com
- github.com Release Notes
- github.com Release Notes
- github.com Third Party Advisory