---
title: "CVE-2026-114125: Storybook: Missing origin validation in Storybook preview allows code injection from malicious websites"
url: https://erroneo.us/security/cve/CVE-2026-114125/
description: "CVE-2026-114125 (storybook (npm)): Storybook is a frontend workshop for building user interface components and pages in isolation. From 8.0.0 until 8.6.19…"
type: vulnerability-record
section: "Security Digest"
date_published: 2026-10-21
date_modified: 2026-10-21
publisher: erroneo.us
author: erroneo.us Security Desk
cve: "CVE-2026-114125"
kev: false
cvss: 8.6
epss: null
license: All rights reserved. Quote with attribution and a link.
---

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

**Signal:** Normal patch cycle. No exploitation signal; fix it in your next routine update if you are affected. (Computed from CISA KEV, EPSS and CVSS; not an editorial verdict.)

## Should you act?

- No confirmed exploitation. It is not in CISA’s KEV catalog. That can change quickly after a public write-up; re-check if you are affected.
- Only applies if your dependency tree includes storybook (npm) >= 8.0.0, < 8.6.19, fixed in 8.6.19 ; storybook (npm) >= 9.0.0, < 9.1.21, fixed in 9.1.21 ; storybook (npm) >= 10.0.0, < 10.6.2, fixed in 10.6.2 ; storybook (npm) >= 11.0.0-alpha.0, < 11.0.0-alpha.6, fixed in 11.0.0-alpha.6 . Check your lockfile, including transitive dependencies.

## What it is

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 packages

- npm `storybook` >= 8.0.0, < 8.6.19 → fixed: 8.6.19
- npm `storybook` >= 9.0.0, < 9.1.21 → fixed: 9.1.21
- npm `storybook` >= 10.0.0, < 10.6.2 → fixed: 10.6.2
- npm `storybook` >= 11.0.0-alpha.0, < 11.0.0-alpha.6 → fixed: 11.0.0-alpha.6
- npm `@storybook/core` >= 8.0.0, < 8.6.19 → fixed: 8.6.19
- npm `@storybook/core-server` >= 8.0.0, < 8.6.19 → fixed: 8.6.19
- npm `@storybook/experimental-addon-test` >= 8.0.0, < 8.6.19 → fixed: 8.6.19
- npm `@storybook/addon-vitest` >= 9.0.0, < 9.1.21 → fixed: 9.1.21
- npm `@storybook/addon-vitest` >= 10.0.0, < 10.6.2 → fixed: 10.6.2
- npm `@storybook/addon-vitest` >= 11.0.0-alpha.0, < 11.0.0-alpha.6 → fixed: 11.0.0-alpha.6
- npm `@storybook/addon-mcp` >= 10.6.0, < 10.6.2 → fixed: 10.6.2
- npm `@storybook/addon-mcp` >= 11.0.0-alpha.0, < 11.0.0-alpha.6 → fixed: 11.0.0-alpha.6

## Affected products (CVE record)

- 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

## Severity

- GitHub_M CVSS 4.0: 8.6 `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: 9.4 `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`

## Exploitation

- CISA KEV: not listed (no confirmed in-the-wild exploitation known to CISA).

## Sources

- [GitHub Advisory GHSA-f2ph-cmg5-wxc8](https://github.com/advisories/GHSA-f2ph-cmg5-wxc8)
- [CVE.org record CVE-2026-114125](https://www.cve.org/CVERecord?id=CVE-2026-114125)
- [NVD entry CVE-2026-114125](https://nvd.nist.gov/vuln/detail/CVE-2026-114125)
- [github.com](https://github.com/storybookjs/storybook/security/advisories/GHSA-f2ph-cmg5-wxc8)
- [github.com](https://github.com/storybookjs/storybook/pull/36726)
- [github.com](https://github.com/storybookjs/storybook/commit/243c06bf8f1e2f09446c44868ea100261e1374da)
- [github.com](https://github.com/storybookjs/storybook/commit/3be03ec6f11f4616471cebc3fc65c13e1bf8c178)
- [github.com](https://github.com/storybookjs/storybook/commit/97513d999910d071c2b36830495dab63e17d9fe0)
- [github.com](https://github.com/storybookjs/storybook/commit/d9b09e332510a88689c71ecc081bbbc2d072476e)
- [github.com](https://github.com/storybookjs/storybook/commit/df3fed468c9b4830605f00068c4bc6b7e1e215ed)
- [github.com](https://github.com/storybookjs/storybook/releases/tag/v10.6.2)
- [github.com](https://github.com/storybookjs/storybook/releases/tag/v11.0.0-alpha.6)
- [github.com](https://github.com/storybookjs/storybook/releases/tag/v8.6.19)
- [github.com](https://github.com/storybookjs/storybook/releases/tag/v9.1.21)
- [github.com](https://github.com/storybookjs/storybook/commit/a9ef9345d73224c73e0b81dc2701ec5b465ea9bb)

---
Source page: https://erroneo.us/security/cve/CVE-2026-114125/ · Security Digest: https://erroneo.us/security/ · More: https://erroneo.us/llms.txt
