@storybook/core is vulnerable to Code Injection
96
CVE Score
Critical
Code Injection
The @storybook/core dev server accepts preview iframe embeds and postMessage events from other websites while it is running. A website open in the same browser can send channel events that write story files in the project, and a local test run can then execute one of those files with the developer's permissions. Patched dev servers accept embeds and channel messages only from their own origin and from loopback hosts, and they reject story writes that use unsafe names or paths outside the project.
Upgrade the @storybook/core library to the patch version.
You are affected if you are using a version that falls within the vulnerable range and you run the Storybook dev server.
8.2.0 - 8.6.18
Fixed in 8.6.19@storybook/core is vulnerable to Code Injection in versions 8.2.0 - 8.6.18.
Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.
No credit card required | Scan results in 32 seconds.
I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant
ISO 42001Compliant© All Intel data is openly available and commercially licensed.