CVE-2026-114125
HighCVSS 8.6Exploitation Probability (EPSS)
Low risk30th percentile - higher than 30% of all known CVEs
Summary
Storybook is a frontend workshop for building UI components and pages in isolation. From 8.0.0 until 8.6.19, 9.1.21, 10.6.2, and 11.0.0-alpha.6, a malicious website can interact with the preview of a running Storybook development server due to insufficient iframe embedding and message-origin restrictions. A developer must visit the malicious website and interact with the injected interface.
Risk Assessment
The attack can cause unauthorized changes to story files and, if a changed file is later executed by a local runtime, arbitrary code execution with the developer's privileges.
Recommendation
Upgrade Storybook to 8.6.19, 9.1.21, 10.6.2, or 11.0.0-alpha.6 and avoid visiting untrusted websites while running the development server.
Other vulnerabilities in Storybook
See all- CVE-2026-27148Critical
A vulnerability in Storybook allows WebSocket hijacking in the dev server due to missing origin validation. Attackers can send malicious WebSocket messages, leading to persistent XSS or Remote Code Execution (RCE). Only the dev server is affected, not production builds.
- CVE-2026-114126High
Storybook from 8.0.0 until 8.6.19, 9.1.21, 10.6.2, and 11.0.0-alpha.6 allows the development server to expose its WebSocket authentication token to clients able to load its HTML pages over a local network. A LAN attacker can obtain the token and invoke WebSocket-backed file-writing or testing functionality. Weak story-write validation can allow code to be placed in story files, and with the Vitest addon, the payload can use a Vitest API to write files or execute commands, leading to code execution with developer privileges.
Original NVD description (English source)
Storybook is a frontend workshop for building user interface components and pages in isolation. From 8.0.0 until 8.6.19, 9.1.21, 10.6.2, and 11.0.0-alpha.6, a malicious website can interact with the preview of a running Storybook development server. Insufficient iframe embedding and message-origin restrictions can allow attacker-controlled events to reach the running preview. A developer must visit the malicious website and interact with the injected interface. The attack can cause unauthorized changes to story files and, if a changed file is later executed by a local runtime, arbitrary code execution with the developer's privileges. This issue is fixed in 8.6.19, 9.1.21, 10.6.2, and 11.0.0-alpha.6.
Vulnerability data from NVD (NIST) · CISA KEV · EPSS

