Skip to main content
Network Thinking Solutions Logo

CVE-2026-27148

Storybook Dev Server Vulnerable to WebSocket Hijacking

All CVEs
CVE-2026-27148Published 2/25/2026

Storybook Dev Server Vulnerable to WebSocket Hijacking

Vendor advisory
CVSS8.9High

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 / productAffected versionsPlatform / conditionsEvidence
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.

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.