Impact
A flaw in Storybook’s iframe embedding fails to enforce origin validation, allowing a malicious website to send crafted messages that reach the running preview. The attacker can inject code that alters story files, and if those files are later executed by a local runtime, arbitrary code runs with the developer’s privileges. The weakness stems from improper input validation (CWE‑1021), unexpected application responses (CWE‑346), and code generation controls (CWE‑94). The reported CVSS score of 8.6 indicates a high severity impact, giving attackers the ability to compromise both confidentiality and integrity of the dev environment.
Affected Systems
Storybook for JavaScript (storybookjs:storybook) versions from 8.0.0 up to 8.6.19, 9.1.21, 10.6.2, and 11.0.0‑alpha.6 are affected. Any instance of those releases running a development server that serves preview pages is vulnerable.
Risk and Exploitability
The vulnerability is high‑risk but requires the developer to visit a malicious website and interact with the preview. The EPSS is not available, so the exact probability of exploitation is unknown, but the absence of KEV listing suggests no known large‑scale exploitation yet. However, the potential to execute arbitrary code with developer privileges makes the exposure significant for developers in collaborative or open‑source projects.
OpenCVE Enrichment
Github GHSA