GHSA-mjf5-7g4m-gx5w · Severity: high · Ecosystem: npm — Storybook Dev Server is Vulnerable to WebSocket Hijacking
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.
Conclusion & alert: CVE-2026-27148 is rated Moderate Risk (42/100): CVSS High severity, with low exploitation likelihood (EPSS 0.06%). Mandatory action: Review affected assets and schedule remediation.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2026-03-21 | 0.17% | 0.06% | -0.11% |
| 2 | 2026-03-11 | 0.47% | 0.17% | -0.30% |
| 3 | 2026-03-03 | — | 0.47% | — |
Full EPSS history (4 records total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 8.9 | 4.0 | HIGH |
|
— | — | [email protected] |
| 9.6 | 3.1 | CRITICAL |
|
2.8 | 6.0 | [email protected] |
GHSA-mjf5-7g4m-gx5w · Severity: high · Ecosystem: npm — Storybook Dev Server is Vulnerable to WebSocket Hijacking
| vendor | priority | summary | link |
|---|---|---|---|
redhat
|
high | — | https://access.redhat.com/security/cve/CVE-2026-27148 |
| Vendor | Product | Version | Raw CPE |
|---|---|---|---|
| storybook | storybook | < 7.6.23 | cpe:2.3:a:storybook:storybook:*:*:*:*:*:node.js:*:* |
| storybook | storybook | >= 8.1.0, < 8.6.17 | cpe:2.3:a:storybook:storybook:*:*:*:*:*:node.js:*:* |
| storybook | storybook | >= 9.0.0, < 9.1.19 | cpe:2.3:a:storybook:storybook:*:*:*:*:*:node.js:*:* |
| storybook | storybook | >= 10.0.0, < 10.2.10 | cpe:2.3:a:storybook:storybook:*:*:*:*:*:node.js:*:* |