CVE-2026-27148Storybook
High 8.9 No auth needed
Follow: this CVE · Storybook · Storybook We alert you by email or Slack (account required).
- Priority
- 68
- CVSS 4.0
- 8.9
- EPSS
- —
- Auth required
- No
- Published
- Feb 25, 2026
- Updated
- Jul 15, 2026
- Category
- Application · Cross-platform
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: 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
What happens
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.
What to do
- Apply the vendor's security update for Storybook.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| 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 |
Per OSV / GitHub Advisories (GHSA-mjf5-7g4m-gx5w). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| 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 |
Official sources
References
Links published by the sources. Open them with care.
- 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