CVE-2026-114125
HIGH 8.6CVSS 4.0Storybook: Missing origin validation in Storybook preview allows code injection from malicious websites
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.
- Published
- 21 Oct 2026
- Last modified
- 28 Oct 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Awaiting Analysis
- Weakness
- CWE-1021CWE-22CWE-346CWE-441CWE-749CWE-862CWE-94CWE-96
- Also known as
- GHSA-f2ph-cmg5-wxc8
- Sources
- NVDJSONOSV GHSA-f2ph-cmg5-wxc8JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 4.0 | HIGH 8.6 | 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | npm | storybook | >= 8.0.0, < 8.6.19 | 8.6.19 |
| OSV | npm | storybook | >= 9.0.0, < 9.1.21 | 9.1.21 |
| OSV | npm | storybook | >= 10.0.0, < 10.6.2 | 10.6.2 |
| OSV | npm | storybook | >= 11.0.0-alpha.0, < 11.0.0-alpha.6 | 11.0.0-alpha.6 |
| OSV | npm | @storybook/core | >= 8.0.0, < 8.6.19 | 8.6.19 |
| OSV | npm | @storybook/core-server | >= 8.0.0, < 8.6.19 | 8.6.19 |
| OSV | npm | @storybook/experimental-addon-test | >= 8.0.0, < 8.6.19 | 8.6.19 |
| OSV | npm | @storybook/addon-vitest | >= 9.0.0, < 9.1.21 | 9.1.21 |
| OSV | npm | @storybook/addon-vitest | >= 10.0.0, < 10.6.2 | 10.6.2 |
| OSV | npm | @storybook/addon-vitest | >= 11.0.0-alpha.0, < 11.0.0-alpha.6 | 11.0.0-alpha.6 |
| OSV | npm | @storybook/addon-mcp | >= 10.6.0, < 10.6.2 | 10.6.2 |
| OSV | npm | @storybook/addon-mcp | >= 11.0.0-alpha.0, < 11.0.0-alpha.6 | 11.0.0-alpha.6 |
References
- https://github.com/storybookjs/storybook/commit/243c06bf8f1e2f09446c44868ea100261e1374da · WEB
- https://github.com/storybookjs/storybook/commit/3be03ec6f11f4616471cebc3fc65c13e1bf8c178 · WEB
- https://github.com/storybookjs/storybook/commit/97513d999910d071c2b36830495dab63e17d9fe0
- https://github.com/storybookjs/storybook/commit/d9b09e332510a88689c71ecc081bbbc2d072476e · WEB
- https://github.com/storybookjs/storybook/commit/df3fed468c9b4830605f00068c4bc6b7e1e215ed · WEB
- https://github.com/storybookjs/storybook/pull/36726 · WEB
- https://github.com/storybookjs/storybook/releases/tag/v10.6.2 · WEB
- https://github.com/storybookjs/storybook/releases/tag/v11.0.0-alpha.6 · WEB
- https://github.com/storybookjs/storybook/releases/tag/v8.6.19 · WEB
- https://github.com/storybookjs/storybook/releases/tag/v9.1.21 · WEB
- https://github.com/storybookjs/storybook/security/advisories/GHSA-f2ph-cmg5-wxc8 · WEB
- https://github.com/storybookjs/storybook/commit/a9ef9345d73224c73e0b81dc2701ec5b465ea9bb · WEB
- https://github.com/storybookjs/storybook · PACKAGE
History
- 25 Nov 2026 21:22 UTC · NVD: first stored (published 21 Oct 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 21 Oct 2026)