# CVE-2026-114125: Storybook: Missing origin validation in Storybook preview allows code injection from malicious websites

- Severity: High 8.6 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.67%, higher than 53% of CVEs (2026-12-01)
- Published: 2026-10-21T17:08:12.102Z
- Modified: 2026-10-28T18:17:10.290Z
- Also known as: GHSA-f2ph-cmg5-wxc8
- Weaknesses: CWE-22, CWE-94, CWE-96, CWE-346, CWE-441, CWE-749, CWE-862, CWE-1021
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- storybookjs storybook: >= 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
- storybook (npm): from 8.0.0 before 8.6.19; from 9.0.0 before 9.1.21; from 10.0.0 before 10.6.2; from 11.0.0-alpha.0 before 11.0.0-alpha.6
- @storybook/core (npm): from 8.0.0 before 8.6.19
- @storybook/core-server (npm): from 8.0.0 before 8.6.19
- @storybook/experimental-addon-test (npm): from 8.0.0 before 8.6.19
- @storybook/addon-vitest (npm): from 9.0.0 before 9.1.21; from 10.0.0 before 10.6.2; from 11.0.0-alpha.0 before 11.0.0-alpha.6
- @storybook/addon-mcp (npm): from 10.6.0 before 10.6.2; from 11.0.0-alpha.0 before 11.0.0-alpha.6

## Every score

- GitHub_M: CVSS:4.0 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`
- GitHub: CVSS:4.0 Critical `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`

## References

- <https://github.com/storybookjs/storybook/security/advisories/GHSA-f2ph-cmg5-wxc8> (web)
- <https://github.com/storybookjs/storybook/pull/36726> (web)
- <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/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/commit/a9ef9345d73224c73e0b81dc2701ec5b465ea9bb> (web)
- <https://github.com/storybookjs/storybook> (package)

## Sources

- CVE List: [CVE-2026-114125](https://www.cve.org/CVERecord?id=CVE-2026-114125), CVE Terms of Use, modified 2026-10-28
- GitHub Advisory Database: [GHSA-f2ph-cmg5-wxc8](https://github.com/advisories/GHSA-f2ph-cmg5-wxc8), CC-BY-4.0, modified 2026-10-21
- NVD: [CVE-2026-114125](https://nvd.nist.gov/vuln/detail/CVE-2026-114125), Public domain, modified 2026-10-28

---

Page: https://cve.day/CVE-2026-114125 · Whole record: https://cve.day/CVE-2026-114125.json · Rebuilt by cve.day 2026-11-25T22:59:46.651Z
