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

Summary

CVECVE-2026-114125
StatePUBLISHED
AssignerGitHub_M
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-10-21 18:17:24 UTC
Updated2026-10-21 18:17:24 UTC
DescriptionStorybook 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


VersionSourceTypeScoreSeverityVector
4.0[email protected]Secondary8.6HIGHCVSS: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.0CNADECLARED8.6HIGHCVSS: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
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Active
Confidentiality
High
Integrity
High
Availability
High
Sub Conf.
None
Sub Integrity
None
Sub Availability
None

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

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
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

ReferenceSourceLinkTags
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

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report