{"id":"CVE-2026-114125","published":"2026-10-21T17:08:12Z","modified":"2026-10-28T17:13:06Z","title":"Storybook: Missing origin validation in Storybook preview allows code injection from malicious websites","vendor":"storybookjs","product":"storybook","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.6,"severity":"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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00435,"percentile":0.29681,"provenance":"source"},"cwes":[{"id":"CWE-94","name":"Improper Control of Generation of Code"},{"id":"CWE-346","name":"Origin Validation Error"},{"id":"CWE-1021","name":"Improper Restriction of Rendered UI Layers or Frames"}],"references":[{"url":"https://github.com/storybookjs/storybook/security/advisories/GHSA-f2ph-cmg5-wxc8","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/storybookjs/storybook/pull/36726","tags":["x_refsource_MISC"]},{"url":"https://github.com/storybookjs/storybook/commit/243c06bf8f1e2f09446c44868ea100261e1374da","tags":["x_refsource_MISC"]},{"url":"https://github.com/storybookjs/storybook/commit/3be03ec6f11f4616471cebc3fc65c13e1bf8c178","tags":["x_refsource_MISC"]},{"url":"https://github.com/storybookjs/storybook/commit/97513d999910d071c2b36830495dab63e17d9fe0","tags":["x_refsource_MISC"]},{"url":"https://github.com/storybookjs/storybook/commit/d9b09e332510a88689c71ecc081bbbc2d072476e","tags":["x_refsource_MISC"]},{"url":"https://github.com/storybookjs/storybook/commit/df3fed468c9b4830605f00068c4bc6b7e1e215ed","tags":["x_refsource_MISC"]},{"url":"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","tags":["x_refsource_MISC"]},{"url":"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","tags":["x_refsource_MISC"]}],"priority":{"score":12.0,"factors":[{"name":"EPSS percentile","points":5.94},{"name":"CVSS severity","points":6.02}]},"vendorSlug":"storybookjs","affectedVersions":[{"vendor":"storybookjs","product":"storybook","versions":[">= 8.0.0, < 8.6.19",">= 9.0.0, < 9.1.21",">= 10.0.0, < 10.6.2",">= 11.0.0-alpha.0, < 11.0.0-alpha.6"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-10-28T17:12:45.621272Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"storybook","vulnerableRanges":[">=8.0.0, <8.6.19",">=9.0.0, <9.1.21",">=10.0.0, <10.6.2",">=11.0.0-alpha.0, <11.0.0-alpha.6"],"patched":["8.6.19","9.1.21","10.6.2","11.0.0-alpha.6"],"from":["GHSA-f2ph-cmg5-wxc8"],"provenance":"source"},{"ecosystem":"npm","package":"@storybook/core","vulnerableRanges":[">=8.0.0, <8.6.19"],"patched":["8.6.19"],"from":["GHSA-f2ph-cmg5-wxc8"],"provenance":"source"},{"ecosystem":"npm","package":"@storybook/core-server","vulnerableRanges":[">=8.0.0, <8.6.19"],"patched":["8.6.19"],"from":["GHSA-f2ph-cmg5-wxc8"],"provenance":"source"},{"ecosystem":"npm","package":"@storybook/experimental-addon-test","vulnerableRanges":[">=8.0.0, <8.6.19"],"patched":["8.6.19"],"from":["GHSA-f2ph-cmg5-wxc8"],"provenance":"source"},{"ecosystem":"npm","package":"@storybook/addon-vitest","vulnerableRanges":[">=9.0.0, <9.1.21",">=10.0.0, <10.6.2",">=11.0.0-alpha.0, <11.0.0-alpha.6"],"patched":["9.1.21","10.6.2","11.0.0-alpha.6"],"from":["GHSA-f2ph-cmg5-wxc8"],"provenance":"source"},{"ecosystem":"npm","package":"@storybook/addon-mcp","vulnerableRanges":[">=10.6.0, <10.6.2",">=11.0.0-alpha.0, <11.0.0-alpha.6"],"patched":["10.6.2","11.0.0-alpha.6"],"from":["GHSA-f2ph-cmg5-wxc8"],"provenance":"source"}],"summary":{"text":"Storybook, the frontend workshop tool for building UI components in isolation, has a missing origin validation flaw in its preview that affects versions from 8.0.0 up to (but not including) 8.6.19, 9.1.21, 10.6.2 and 11.0.0-alpha.6. A remote attacker can exploit it by getting a developer to visit a malicious website and interact with the injected interface, which can make unauthorised changes to story files and, if a changed file is later run by a local runtime, execute arbitrary code with the developer's privileges.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:43:39Z"},"euvd":{"id":"EUVD-2026-107393","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2025-68429","published":"2025-12-17","fixed":"10.1.10","kev":false},{"cve":"CVE-2026-27148","published":"2026-02-25","fixed":"10.2.10","kev":false,"link":{"from":"CVE-2026-27148","to":"CVE-2026-114125","relation":"successor","confidence":"medium","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:storybook","fromFixed":"8.6.17","toFixed":"8.6.19","daysApart":238},{"kind":"version-step","provenance":"source","package":"npm:storybook","fromFixed":"9.1.19","toFixed":"9.1.21","daysApart":238},{"kind":"similar","provenance":"machine","score":0.42,"basis":"same product + CWE + description similarity"}]}},{"cve":"CVE-2026-114125","published":"2026-10-21","fixed":"11.0.0-alpha.6","kev":false},{"cve":"CVE-2026-114126","published":"2026-10-21","fixed":"11.0.0-alpha.6","kev":false}],"package":"npm:storybook"}}