@storybook/core
8.6.14 · 16 May 2025MIT5.7M / weekRepositoryHomepagenpmAtom feed
In short
1 new1 fixed8 changed
Security
Fixes 2 advisories that affected 8.6.18
- CriticalStorybook: Missing origin validation in Storybook preview allows code injection from malicious websitesGHSA-f2ph-cmg5-wxc8 · 21 Oct 2026Fixed in 8.6.19
- HighStorybook dev server vulnerable to code injection from the local networkGHSA-px85-f4q5-jh77 · 22 Oct 2026Fixed in 8.6.19
Release note
Highlight: Prevent menu items from emitting arbitrary channel events
Channels: Restrict preview postMessage to known manager origins
Core: Separate manager and preview roles on the dev server channel
Core: Block iframe embedding of the dev server from non-localhost origins
Core: Reject component search queries outside the project
Core: Validate component export name when creating a story
Core: Add host validation warning and origin validation for MCP
Core: Contain save story path to the project root
Core: Validate save story name and arg keys as identifiers
Addon Vitest: Disable browser file writes and command execution
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.