{"id":"CVE-2026-114125","state":"PUBLISHED","title":"Storybook: Missing origin validation in Storybook preview allows code injection from malicious websites","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.","publishedAt":"2026-10-21T17:08:12.102Z","updatedAt":"2026-10-28T17:13:06.610Z","severity":{"score":8.6,"label":"High","version":"4.0","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","source":"GitHub_M"},"assigner":"GitHub_M","products":["storybookjs storybook"],"affected":[{"vendor":"storybookjs","product":"storybook","versions":[{"version":">= 8.0.0, < 8.6.19","status":"affected"},{"version":">= 9.0.0, < 9.1.21","status":"affected"},{"version":">= 10.0.0, < 10.6.2","status":"affected"},{"version":">= 11.0.0-alpha.0, < 11.0.0-alpha.6","status":"affected"}]}],"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"],"weaknesses":["CWE-94","CWE-346","CWE-1021"],"ingestedAt":"2026-10-29T20:10:43.281Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/114xxx/CVE-2026-114125.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-114125","state":"PUBLISHED","datePublished":"2026-10-21T17:08:12.102Z","dateUpdated":"2026-10-28T17:13:06.610Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-10-20T21:53:58.472Z"},"containers":{"cna":{"title":"Storybook: Missing origin validation in Storybook preview allows code injection from malicious websites","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"storybookjs","product":"storybook","versions":[{"version":">= 8.0.0, < 8.6.19","status":"affected"},{"version":">= 9.0.0, < 9.1.21","status":"affected"},{"version":">= 10.0.0, < 10.6.2","status":"affected"},{"version":">= 11.0.0-alpha.0, < 11.0.0-alpha.6","status":"affected"}]}],"references":[{"url":"https://github.com/storybookjs/storybook/security/advisories/GHSA-f2ph-cmg5-wxc8","name":"https://github.com/storybookjs/storybook/security/advisories/GHSA-f2ph-cmg5-wxc8","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/storybookjs/storybook/pull/36726","name":"https://github.com/storybookjs/storybook/pull/36726","tags":["x_refsource_MISC"]},{"url":"https://github.com/storybookjs/storybook/commit/243c06bf8f1e2f09446c44868ea100261e1374da","name":"https://github.com/storybookjs/storybook/commit/243c06bf8f1e2f09446c44868ea100261e1374da","tags":["x_refsource_MISC"]},{"url":"https://github.com/storybookjs/storybook/commit/3be03ec6f11f4616471cebc3fc65c13e1bf8c178","name":"https://github.com/storybookjs/storybook/commit/3be03ec6f11f4616471cebc3fc65c13e1bf8c178","tags":["x_refsource_MISC"]},{"url":"https://github.com/storybookjs/storybook/commit/97513d999910d071c2b36830495dab63e17d9fe0","name":"https://github.com/storybookjs/storybook/commit/97513d999910d071c2b36830495dab63e17d9fe0","tags":["x_refsource_MISC"]},{"url":"https://github.com/storybookjs/storybook/commit/d9b09e332510a88689c71ecc081bbbc2d072476e","name":"https://github.com/storybookjs/storybook/commit/d9b09e332510a88689c71ecc081bbbc2d072476e","tags":["x_refsource_MISC"]},{"url":"https://github.com/storybookjs/storybook/commit/df3fed468c9b4830605f00068c4bc6b7e1e215ed","name":"https://github.com/storybookjs/storybook/commit/df3fed468c9b4830605f00068c4bc6b7e1e215ed","tags":["x_refsource_MISC"]},{"url":"https://github.com/storybookjs/storybook/releases/tag/v10.6.2","name":"https://github.com/storybookjs/storybook/releases/tag/v10.6.2","tags":["x_refsource_MISC"]},{"url":"https://github.com/storybookjs/storybook/releases/tag/v11.0.0-alpha.6","name":"https://github.com/storybookjs/storybook/releases/tag/v11.0.0-alpha.6","tags":["x_refsource_MISC"]},{"url":"https://github.com/storybookjs/storybook/releases/tag/v8.6.19","name":"https://github.com/storybookjs/storybook/releases/tag/v8.6.19","tags":["x_refsource_MISC"]},{"url":"https://github.com/storybookjs/storybook/releases/tag/v9.1.21","name":"https://github.com/storybookjs/storybook/releases/tag/v9.1.21","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV4_0":{"attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"NONE","privilegesRequired":"NONE","userInteraction":"ACTIVE","vulnConfidentialityImpact":"HIGH","vulnIntegrityImpact":"HIGH","vulnAvailabilityImpact":"HIGH","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","baseScore":8.6,"baseSeverity":"HIGH","vectorString":"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","version":"4.0"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-94","lang":"en","description":"CWE-94: Improper Control of Generation of Code ('Code Injection')","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-346","lang":"en","description":"CWE-346: Origin Validation Error","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-1021","lang":"en","description":"CWE-1021: Improper Restriction of Rendered UI Layers or Frames","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-10-21T17:08:12.102Z"},"source":{"advisory":"GHSA-f2ph-cmg5-wxc8","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-10-28T17:12:45.621272Z","id":"CVE-2026-114125","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-10-28T17:13:06.610Z"}}]}}}