Storybook Dev Server Vulnerable to WebSocket Hijacking
Overview
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.
- Published
- 2/25/2026
- Last modified
- 7/15/2026
- CVE assigner
- Not available
- NVD analysis
- Not available
Exploitation
No CISA KEV flag in the saved record
An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.
EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare
Affected products
Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.
| Vendor / product | Affected versions | Platform / conditions | Evidence |
|---|---|---|---|
storybook storybook | < 7.6.23 | Verify advisory The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory. | Source |
storybook storybook | ≥ 8.1.0, < 8.6.17 | Verify advisory The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory. | Source |
storybook storybook | ≥ 9.0.0, < 9.1.19 | Verify advisory The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory. | Source |
storybook storybook | ≥ 10.0.0, < 10.2.10 | Verify advisory The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory. | Source |
storybook storybookjs | < 7.6.23 | Verify advisory Verify the advisory platform, edition, update channel, and any version exceptions. | Source |
storybook storybookjs | >= 8.1.0, < 8.6.17 | Verify advisory Verify the advisory platform, edition, update channel, and any version exceptions. | Source |
storybook storybookjs | >= 9.0.0, < 9.1.19 | Verify advisory Verify the advisory platform, edition, update channel, and any version exceptions. | Source |
storybook storybookjs | >= 10.0.0, < 10.2.10 | Verify advisory Verify the advisory platform, edition, update channel, and any version exceptions. | Source |
Recommended actions
Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.
Vendor advisory links
Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.
Severity
CVSS describes technical impact. It is separate from exploitation evidence.
Published headline score: 8.9. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.
Sources & references
Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.