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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 8.6
- **CVSS:** 8.6 (v4.0, CNA) `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`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Attack requirements: None; Privileges required: None; User interaction: Active; Confidentiality impact: High; Integrity impact: High; Availability impact: High; Confidentiality impact on other systems: None; Integrity impact on other systems: None; Availability impact on other systems: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.69% (percentile 48, 2026-11-28)
- **CWE:** CWE-94, CWE-346, CWE-1021
- **Aliases:** GHSA-f2ph-cmg5-wxc8
- **Published:** 2026-10-21T17:08:12.102Z
- **Modified:** 2026-10-28T18:17:10.290Z

## Who should check

- Projects that depend on npm package storybook (\>= 8.0.0, \< 8.6.19)
- Projects that depend on npm package @storybook/core (\>= 8.0.0, \< 8.6.19)
- Projects that depend on npm package @storybook/core-server (\>= 8.0.0, \< 8.6.19)
- Projects that depend on npm package @storybook/experimental-addon-test (\>= 8.0.0, \< 8.6.19)
- Projects that depend on npm package @storybook/addon-vitest (\>= 9.0.0, \< 9.1.21)
- Projects that depend on npm package @storybook/addon-mcp (\>= 10.6.0, \< 10.6.2)
- Anyone running 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

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

## Affected and fixed versions

- npm `storybook`: affected \>= 8.0.0, \< 8.6.19; fixed 8.6.19, 9.1.21, 10.6.2, 11.0.0-alpha.6 (osv)
- npm `@storybook/core`: affected \>= 8.0.0, \< 8.6.19; fixed 8.6.19 (osv)
- npm `@storybook/core-server`: affected \>= 8.0.0, \< 8.6.19; fixed 8.6.19 (osv)
- npm `@storybook/experimental-addon-test`: affected \>= 8.0.0, \< 8.6.19; fixed 8.6.19 (osv)
- npm `@storybook/addon-vitest`: affected \>= 9.0.0, \< 9.1.21; fixed 9.1.21, 10.6.2, 11.0.0-alpha.6 (osv)
- npm `@storybook/addon-mcp`: affected \>= 10.6.0, \< 10.6.2; fixed 10.6.2, 11.0.0-alpha.6 (osv)
- 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 (cvelist)

## Mitigation

- Upgrade storybook to one of 8.6.19, 9.1.21, 10.6.2, 11.0.0-alpha.6 (or later in the same release line).
- Upgrade @storybook/core to 8.6.19 or later.
- Upgrade @storybook/core-server to 8.6.19 or later.
- Upgrade @storybook/experimental-addon-test to 8.6.19 or later.
- Upgrade @storybook/addon-vitest to one of 9.1.21, 10.6.2, 11.0.0-alpha.6 (or later in the same release line).
- Upgrade @storybook/addon-mcp to one of 10.6.2, 11.0.0-alpha.6 (or later in the same release line).

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-114125. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-114125.md
Affected: storybook >= 8.0.0, < 8.6.19; @storybook/core >= 8.0.0, < 8.6.19; @storybook/core-server >= 8.0.0, < 8.6.19; @storybook/experimental-addon-test >= 8.0.0, < 8.6.19; @storybook/addon-vitest >= 9.0.0, < 9.1.21; @storybook/addon-mcp >= 10.6.0, < 10.6.2
Fixed in: 8.6.19, 9.1.21, 10.6.2, 11.0.0-alpha.6

Steps:
1. Search this machine and project for storybook (npm), @storybook/core (npm), @storybook/core-server (npm), @storybook/experimental-addon-test (npm), @storybook/addon-vitest (npm), @storybook/addon-mcp (npm): dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-114125 being exploited?

There is no confirmed exploitation: CVE-2026-114125 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.69% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2026-114125?

High: CVSS 8.6 (v4.0, scored by CNA). Remote, no login needed. A user has to take an action, such as opening a link, for the attack to work.

### Which versions are affected by CVE-2026-114125?

storybook \>= 8.0.0, \< 8.6.19; @storybook/core \>= 8.0.0, \< 8.6.19; @storybook/core-server \>= 8.0.0, \< 8.6.19; @storybook/experimental-addon-test \>= 8.0.0, \< 8.6.19; @storybook/addon-vitest \>= 9.0.0, \< 9.1.21; @storybook/addon-mcp \>= 10.6.0, \< 10.6.2.

### Is there a fix for CVE-2026-114125?

Yes. Fixed in 8.6.19, 9.1.21, 10.6.2, 11.0.0-alpha.6. Upgrade storybook to one of 8.6.19, 9.1.21, 10.6.2, 11.0.0-alpha.6 (or later in the same release line). Upgrade @storybook/core to 8.6.19 or later. Upgrade @storybook/core-server to 8.6.19 or later. Upgrade @storybook/experimental-addon-test to 8.6.19 or later. Upgrade @storybook/addon-vitest to one of 9.1.21, 10.6.2, 11.0.0-alpha.6 (or later in the same release line). Upgrade @storybook/addon-mcp to one of 10.6.2, 11.0.0-alpha.6 (or later in the same release line).

### How do I check if I'm affected by CVE-2026-114125?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/storybookjs/storybook/security/advisories/GHSA-f2ph-cmg5-wxc8>
- patch: <https://github.com/storybookjs/storybook/pull/36726>
- patch: <https://github.com/storybookjs/storybook/commit/243c06bf8f1e2f09446c44868ea100261e1374da>
- patch: <https://github.com/storybookjs/storybook/commit/3be03ec6f11f4616471cebc3fc65c13e1bf8c178>
- patch: <https://github.com/storybookjs/storybook/commit/97513d999910d071c2b36830495dab63e17d9fe0>
- patch: <https://github.com/storybookjs/storybook/commit/d9b09e332510a88689c71ecc081bbbc2d072476e>
- patch: <https://github.com/storybookjs/storybook/commit/df3fed468c9b4830605f00068c4bc6b7e1e215ed>
- patch: <https://github.com/storybookjs/storybook/commit/a9ef9345d73224c73e0b81dc2701ec5b465ea9bb>
- other: <https://github.com/storybookjs/storybook/releases/tag/v10.6.2>
- other: <https://github.com/storybookjs/storybook/releases/tag/v11.0.0-alpha.6>
- other: <https://github.com/storybookjs/storybook/releases/tag/v8.6.19>
- other: <https://github.com/storybookjs/storybook/releases/tag/v9.1.21>
- other: <https://github.com/storybookjs/storybook>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-114125>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-f2ph-cmg5-wxc8> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2026-114125> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-114125>
