CVE-2026-27148Storybook
Alta 8.9 Sin autenticación
Seguir: esta CVE · Storybook · Storybook Te avisamos por email o Slack (requiere cuenta).
- Prioridad
- 68
- CVSS 4.0
- 8.9
- EPSS
- —
- Requiere autenticación
- No
- Publicada
- 25 feb 2026
- Actualizada
- 15 jul 2026
- Categoría
- Aplicación · Multiplataforma
- SSVC (CISA)
- Explotación: ninguna · Automatizable: no · Impacto técnico: total
- Vector
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/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
Storybook is a frontend workshop for building user interface components and pages in isolation. Prior to versions 7.6.23, 8.6.17, 9.1.19, and 10.2.10, the WebSocket functionality in Storybook's dev server, used to create and update stories, is vulnerable to WebSocket hijacking. This vulnerability only affects the Storybook dev server; production builds are not impacted. Exploitation requires a developer to visit a malicious website while their local Storybook dev server is running. Because the WebSocket connection does not validate the origin of incoming connections, a malicious site can silently send WebSocket messages to the local instance without any further user interaction. If the Storybook dev server is intentionally exposed publicly (e.g. for design reviews or stakeholder demos) the risk is higher, as no malicious site visit is required. Any unauthenticated attacker can send WebSocket messages to it directly. The vulnerability affects the WebSocket message handlers for creating and saving stories. Both are vulnerable to injection via unsanitized input in the componentFilePath field, which can be exploited to achieve persistent XSS or Remote Code Execution (RCE). Versions 7.6.23, 8.6.17, 9.1.19, and 10.2.10 contain a fix for the issue.
Qué hacer
- Aplica la actualización de seguridad del fabricante para Storybook.
- 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 | storybook |
≥ 8.1.0 < 8.6.17 |
8.6.17 |
npm install storybook@8.6.17 |
| npm | storybook |
≥ 8.7.0-alpha.0 < 9.1.19 |
9.1.19 |
npm install storybook@9.1.19 |
| npm | storybook |
≥ 10.0.0-beta.0 < 10.2.10 |
10.2.10 |
npm install storybook@10.2.10 |
Según OSV / GitHub Advisories (GHSA-mjf5-7g4m-gx5w). Verifica la versión en tu lockfile antes de actualizar.
Productos afectados (CPE)
| Fabricante | Producto | Versiones |
|---|---|---|
| storybook | storybook | < 7.6.23 |
| storybook | storybook | ≥ 8.1.0 < 8.6.17 |
| storybook | storybook | ≥ 9.0.0 < 9.1.19 |
| storybook | storybook | ≥ 10.0.0 < 10.2.10 |
Fuentes oficiales
Referencias
Enlaces publicados por las fuentes. Ábrelos con criterio.
- github.com Patch
- github.com Patch
- github.com Patch
- github.com Patch
- github.com Release Notes
- github.com Release Notes
- github.com Release Notes
- github.com Release Notes
- github.com Vendor Advisory
- access.redhat.com
- bugzilla.redhat.com
- security.access.redhat.com