Storybook v9.1.21

v9.1.21
Security 10
  • Prevent menu items from emitting arbitrary channel events
  • Restrict preview postMessage to known manager origins
  • Separate manager and preview roles on the dev server channel
  • Block iframe embedding of the dev server from non-localhost origins behavior changed · inferred, marked in the notes below
  • Reject component search queries outside the project
  • Validate component export name when creating a story

2 changes to check, marked in the notes below

From Storybook

9.1.21
  • 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 behavior changed · inferred
  • 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 behavior changed · inferred
View original

Upgraded? How did it go?

Discussion