Skip to main content
← All vulnerabilities
CVE-2026-114125GHSA-F2PH-CMG5-WXC8

Storybook: Missing origin validation in Storybook preview allows code injection from malicious websites

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 8.6.19, 9.1.21, 10.6.2, 11.0.0-alpha.6
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: total

Summary

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.

Timeline

  1. CVE published
  2. First seen by cve.now
  3. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: total

  4. Record last updated

Affected versions

  • storybookjs storybook

    From 8.0.0 · fixed in 8.6.19; From 9.0.0 · fixed in 9.1.21; From 10.0.0 · fixed in 10.6.2; From 11.0.0-alpha.0 · fixed in 11.0.0-alpha.6

  • storybooknpm

    From 8.0.0 · fixed in 8.6.19

  • storybooknpm

    From 9.0.0 · fixed in 9.1.21

  • storybooknpm

    From 10.0.0 · fixed in 10.6.2

  • storybooknpm

    From 11.0.0-alpha.0 · fixed in 11.0.0-alpha.6

  • @storybook/corenpm

    From 8.0.0 · fixed in 8.6.19

  • @storybook/core-servernpm

    From 8.0.0 · fixed in 8.6.19

  • @storybook/experimental-addon-testnpm

    From 8.0.0 · fixed in 8.6.19

  • @storybook/addon-vitestnpm

    From 9.0.0 · fixed in 9.1.21

  • @storybook/addon-vitestnpm

    From 10.0.0 · fixed in 10.6.2

  • @storybook/addon-vitestnpm

    From 11.0.0-alpha.0 · fixed in 11.0.0-alpha.6

  • @storybook/addon-mcpnpm

    From 10.6.0 · fixed in 10.6.2

  • @storybook/addon-mcpnpm

    From 11.0.0-alpha.0 · fixed in 11.0.0-alpha.6

References 11

GitHub · storybookjs/storybook