Storybook: Missing origin validation in Storybook preview allows code injection from malicious websites
Summary
| CVE | CVE-2026-114125 |
|---|---|
| State | PUBLISHED |
| Assigner | GitHub_M |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-10-21 18:17:24 UTC |
| Updated | 2026-10-21 18:17:24 UTC |
| 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. |
Risk And Classification
Primary CVSS: v4.0 8.6 HIGH from [email protected]
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
Problem Types: CWE-94 | CWE-346 | CWE-1021 | CWE-94 CWE-94: Improper Control of Generation of Code ('Code Injection') | CWE-346 CWE-346: Origin Validation Error | CWE-1021 CWE-1021: Improper Restriction of Rendered UI Layers or Frames
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 4.0 | [email protected] | Secondary | 8.6 | HIGH | 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/C... |
| 4.0 | CNA | DECLARED | 8.6 | HIGH | 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 |
CVSS v4.0 Breakdown
Attack Vector
NetworkAttack Complexity
LowAttack Requirements
NonePrivileges Required
NoneUser Interaction
ActiveConfidentiality
HighIntegrity
HighAvailability
HighSub Conf.
NoneSub Integrity
NoneSub Availability
NoneCVSS: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
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Storybookjs | Storybook | affected >= 8.0.0, < 8.6.19 | Not specified |
| CNA | Storybookjs | Storybook | affected >= 9.0.0, < 9.1.21 | Not specified |
| CNA | Storybookjs | Storybook | affected >= 10.0.0, < 10.6.2 | Not specified |
| CNA | Storybookjs | Storybook | affected >= 11.0.0-alpha.0, < 11.0.0-alpha.6 | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| github.com/storybookjs/storybook/commit/df3fed468c9b4830605f00068c4bc6b7... | [email protected] | github.com | |
| github.com/storybookjs/storybook/releases/tag/v8.6.19 | [email protected] | github.com | |
| github.com/storybookjs/storybook/releases/tag/v11.0.0-alpha.6 | [email protected] | github.com | |
| github.com/storybookjs/storybook/releases/tag/v10.6.2 | [email protected] | github.com | |
| github.com/storybookjs/storybook/releases/tag/v9.1.21 | [email protected] | github.com | |
| github.com/storybookjs/storybook/commit/243c06bf8f1e2f09446c44868ea10026... | [email protected] | github.com | |
| github.com/storybookjs/storybook/commit/97513d999910d071c2b36830495dab63... | [email protected] | github.com | |
| github.com/storybookjs/storybook/commit/3be03ec6f11f4616471cebc3fc65c13e... | [email protected] | github.com | |
| github.com/storybookjs/storybook/security/advisories/GHSA-f2ph-cmg5-wxc8 | [email protected] | github.com | |
| github.com/storybookjs/storybook/pull/36726 | [email protected] | github.com | |
| github.com/storybookjs/storybook/commit/d9b09e332510a88689c71ecc081bbbc2... | [email protected] | github.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.