Every CVE Search/ Get API key

CVE-2026-114125

Storybook: Missing origin validation in Storybook preview allows code injection from malicious websites

8.6 HighFix available

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.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
None
User interaction
Active

What an attacker can affect

Confidentiality
High
Integrity
High
Availability
High

Exploit likelihood

0.39%Unchanged since Oct 22, 2026
90%50%10%1%

What each source reports

CVE List Score used 8.6

Storybook: Missing origin validation in Storybook preview allows code injection from malicious websites

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.

Record
CVE-2026-114125
CVSS 4.0
8.6 HighCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Weakness
CWE-94, CWE-346, CWE-1021
Updated
2026-11-02
EUVDEUVD-2026-107393 8.6

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.

Record
EUVD-2026-107393
CVSS 4.0
8.6 HighCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Updated
2026-11-02
GitHub AdvisoriesGHSA-f2ph-cmg5-wxc8 9.4

Storybook: Missing origin validation in Storybook preview allows code injection from malicious websites

Summary: A malicious website may be able to cause unauthorized file changes in a developer’s project while an affected Storybook development server is running. Under additional conditions, a changed file could be executed by a local runtime with the developer’s privileges. We are not aware of exploitation in the wild.

Who is impacted?

You are impacted if you run a Storybook dev server in the affected versions.

You are not impacted if:

  • You run a dev server that you never open in a web browser (e.g. headless automation, MCP clients)
  • You run or visit a built version of Storybook

Recent versions of Chrome and Firefox may ask for permission before a website can connect to a localhost service. This reduces the risk, but does not remove it. Do not grant this permission to websites you don’t trust.

Recommended actions

Upgrade Storybook

Storybook has released patched versions of all affected major Storybook versions that fix all the vulnerabilities necessary for the worst-case scenario above to occur.

Upgrade to a patched version listed below before running storybook dev again. If you cannot upgrade immediately, do not run an affected Storybook dev server until you can apply the fix.

  • 11.0.0-alpha.6
  • 10.6.2
  • 9.1.21
  • 8.6.19

Review potentially breaking changes

Due to the exceptional nature of the reported vulnerabilities, the Storybook team has decided to change the default behavior of Storybook, including versions 8 and 9, for several network-related features that are not essential to most Storybook users' workflow. If your team relies on the affected features, we've added feature flags that can disable specific security updates to support your existing workflows.

Please carefully read the introduced flags and the consequences of using them.

Iframe embedding over the network is disabled by default

Storybook no longer allows the manager or preview to be embedded as an iframe on a website with a different host name. Built versions of Storybook are unaffected and can be freely embedded.

If you rely on embedding a Storybook dev server through a separate web app, run that separate app on localhost. You may also use the security.insecureRemoteIframeEmbed feature flag to re-enable iframe embedding from any origin.

The preview iframe rejects messages sent by an unknown host

Both the Storybook preview and manager now restrict the origin of iframes and parent windows that they can send messages to and receive messages from using the postMessage API.

By default, Storybook in dev mode only accepts communication with its own origin and other localhost services. Built Storybooks continue to accept communication from unknown origins.

A Storybook addon or integration could hypothetically rely on postMessage to update a live story's args. If you do that, reach out to the Storybook team to explore safer alternatives.

Storybook composition also relies on postMessage, so a composed Storybook on a different origin now fails to load unless it has been built. The security.insecureIframeMessaging feature flag disables this protection, but we recommend you build composed Storybooks instead.

The highlight event signature has changed

Storybook’s own accessibility addon uses the highlight event to inject highlights into the preview, which a user can click. Clicking the highlight opens a menu with a link to a documentation page.

The API for that event was too permissive and could be used to trigger arbitrary events, including events processed by the user’s dev server. We reworked the API to prevent abuse. Besides the accessibility addon, Chromatic's Visual Tests addon uses this API to link to documentation from highlighted ignored elements. Update the Visual Tests addon to version 5.5.1 or later to keep that link working. Because no other addons use this API as far as we know, we have not added a feature flag to restore the old API.

Disclosure timeline

On…

Record
GHSA-f2ph-cmg5-wxc8
CVSS 4.0
9.4 CriticalCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H
Weakness
CWE-22, CWE-94, CWE-96, CWE-346, CWE-441, CWE-749, CWE-862, CWE-1021
Updated
2026-11-02
NVD 8.6

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.

Record
CVE-2026-114125
CVSS 4.0
8.6 HighCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Weakness
CWE-94, CWE-346, CWE-1021
Updated
2026-11-02
OSV 8.6

Storybook: Missing origin validation in Storybook preview allows code injection from malicious websites

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.

Record
CVE-2026-114125
CVSS 4.0
8.6 HighCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Weakness
CWE-1021, CWE-346, CWE-94
Updated
2026-11-02
OSVGHSA-f2ph-cmg5-wxc8 9.4

Storybook: Missing origin validation in Storybook preview allows code injection from malicious websites

Summary: A malicious website may be able to cause unauthorized file changes in a developer’s project while an affected Storybook development server is running. Under additional conditions, a changed file could be executed by a local runtime with the developer’s privileges. We are not aware of exploitation in the wild.

Who is impacted?

You are impacted if you run a Storybook dev server in the affected versions.

You are not impacted if:

  • You run a dev server that you never open in a web browser (e.g. headless automation, MCP clients)
  • You run or visit a built version of Storybook

Recent versions of Chrome and Firefox may ask for permission before a website can connect to a localhost service. This reduces the risk, but does not remove it. Do not grant this permission to websites you don’t trust.

Recommended actions

Upgrade Storybook

Storybook has released patched versions of all affected major Storybook versions that fix all the vulnerabilities necessary for the worst-case scenario above to occur.

Upgrade to a patched version listed below before running storybook dev again. If you cannot upgrade immediately, do not run an affected Storybook dev server until you can apply the fix.

  • 11.0.0-alpha.6
  • 10.6.2
  • 9.1.21
  • 8.6.19

Review potentially breaking changes

Due to the exceptional nature of the reported vulnerabilities, the Storybook team has decided to change the default behavior of Storybook, including versions 8 and 9, for several network-related features that are not essential to most Storybook users' workflow. If your team relies on the affected features, we've added feature flags that can disable specific security updates to support your existing workflows.

Please carefully read the introduced flags and the consequences of using them.

Iframe embedding over the network is disabled by default

Storybook no longer allows the manager or preview to be embedded as an iframe on a website with a different host name. Built versions of Storybook are unaffected and can be freely embedded.

If you rely on embedding a Storybook dev server through a separate web app, run that separate app on localhost. You may also use the security.insecureRemoteIframeEmbed feature flag to re-enable iframe embedding from any origin.

The preview iframe rejects messages sent by an unknown host

Both the Storybook preview and manager now restrict the origin of iframes and parent windows that they can send messages to and receive messages from using the postMessage API.

By default, Storybook in dev mode only accepts communication with its own origin and other localhost services. Built Storybooks continue to accept communication from unknown origins.

A Storybook addon or integration could hypothetically rely on postMessage to update a live story's args. If you do that, reach out to the Storybook team to explore safer alternatives.

Storybook composition also relies on postMessage, so a composed Storybook on a different origin now fails to load unless it has been built. The security.insecureIframeMessaging feature flag disables this protection, but we recommend you build composed Storybooks instead.

The highlight event signature has changed

Storybook’s own accessibility addon uses the highlight event to inject highlights into the preview, which a user can click. Clicking the highlight opens a menu with a link to a documentation page.

The API for that event was too permissive and could be used to trigger arbitrary events, including events processed by the user’s dev server. We reworked the API to prevent abuse. Besides the accessibility addon, Chromatic's Visual Tests addon uses this API to link to documentation from highlighted ignored elements. Update the Visual Tests addon to version 5.5.1 or later to keep that link working. Because no other addons use this API as far as we know, we have not added a feature flag to restore the old API.

Disclosure timeline

On…

Record
GHSA-f2ph-cmg5-wxc8
CVSS 4.0
9.4 CriticalCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H
Weakness
CWE-1021, CWE-22, CWE-346, CWE-441, CWE-749, CWE-862, CWE-94, CWE-96
Updated
2026-11-02
Show 5 moreShow less
OSVCLSA-2026-1793185389 No score

TuxCare security update for storybook (2 CVEs)

TuxCare rebuilt storybook to address 2 CVEs. Fixed in 8.6.14-tuxcare.3.

Record
CLSA-2026-1793185389
Updated
2026-11-06
OSVCLSA-2026-1793349137 No score

TuxCare security update for storybook (2 CVEs)

TuxCare rebuilt storybook to address 2 CVEs. Fixed in 8.5.8-tuxcare.5.

Record
CLSA-2026-1793349137
Updated
2026-11-02
OSVCLSA-2026-1793360914 No score

TuxCare security update for storybook (2 CVEs)

TuxCare rebuilt storybook to address 2 CVEs. Fixed in 10.1.9-tuxcare.2.

Record
CLSA-2026-1793360914
Updated
2026-11-02
OSVCLSA-2026-1793362275 No score

TuxCare security update for storybook (2 CVEs)

TuxCare rebuilt storybook to address 2 CVEs. Fixed in 9.1.16-tuxcare.3.

Record
CLSA-2026-1793362275
Updated
2026-11-02
OSVROOT-APP-NPM-CVE-2026-114125 No score

CVE-2026-114125 in storybook - Patched by Root

Root has patched CVE-2026-114125 in the storybook package for Root:npm. Multiple fixed versions available.

Record
ROOT-APP-NPM-CVE-2026-114125
Updated
2026-11-04

Affected products

Affected packages

Affected packages
PackageAffectedFixed
storybook
npm
8.0.0 up to 8.6.19
8.6.19
storybook
npm
9.0.0 up to 9.1.21
9.1.21
storybook
npm
10.0.0 up to 10.6.2
10.6.2
storybook
npm
11.0.0-alpha.0 up to 11.0.0-alpha.6
11.0.0-alpha.6
@storybook/core
npm
8.0.0 up to 8.6.19
8.6.19
@storybook/core-server
npm
8.0.0 up to 8.6.19
8.6.19
@storybook/experimental-addon-test
npm
8.0.0 up to 8.6.19
8.6.19
@storybook/addon-vitest
npm
9.0.0 up to 9.1.21
9.1.21
@storybook/addon-vitest
npm
10.0.0 up to 10.6.2
10.6.2
@storybook/addon-vitest
npm
11.0.0-alpha.0 up to 11.0.0-alpha.6
11.0.0-alpha.6
Show 10 moreShow less
Affected packages
PackageAffectedFixed
@storybook/addon-mcp
npm
10.6.0 up to 10.6.2
10.6.2
@storybook/addon-mcp
npm
11.0.0-alpha.0 up to 11.0.0-alpha.6
11.0.0-alpha.6
storybook
TuxCare:npm
From an advisory covering 2 CVEs
8.6.14-tuxcare.0 up to 8.6.14-tuxcare.3, plus listed versions
8.6.148.6.14-tuxcare.18.6.14-tuxcare.2
8.6.14-tuxcare.3
storybook
TuxCare:npm
From an advisory covering 2 CVEs
8.5.8-tuxcare.0 up to 8.5.8-tuxcare.5, plus listed versions
8.5.88.5.8-tuxcare.18.5.8-tuxcare.28.5.8-tuxcare.38.5.8-tuxcare.4
8.5.8-tuxcare.5
storybook
TuxCare:npm
From an advisory covering 2 CVEs
10.1.9-tuxcare.0 up to 10.1.9-tuxcare.2, plus listed versions
10.1.910.1.9-tuxcare.1
10.1.9-tuxcare.2
storybook
TuxCare:npm
From an advisory covering 2 CVEs
9.1.16-tuxcare.0 up to 9.1.16-tuxcare.3, plus listed versions
9.1.169.1.16-tuxcare.19.1.16-tuxcare.2
9.1.16-tuxcare.3
storybook
Root:npm
before 10.6.0-aikido.1
10.6.0-aikido.110.6.0-aikido.28.6.17-aikido.2
@storybook/addon-mcp
Root:npm
before 10.6.0-aikido.1
10.6.0-aikido.1
@rootio/storybook
Root:npm
before 10.6.0-root.io.1
10.6.0-root.io.110.6.0-root.io.28.6.17-root.io.2
@rootio/storybook__addon-mcp
Root:npm
before 10.6.0-root.io.1
10.6.0-root.io.1

History

History
RecordedChangedSources
affectedOSV
affected
affected, factsOSV
first indexedCVE List, EUVD, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2026-114125 is a high vulnerability (CVSS 8.6) in Storybookjs Storybook, published October 21, 2026. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.39%, the 32nd percentile. Fixed in storybook 8.6.19.

References

Show 10 moreShow less
This page doesn't list everything

Left out here: the rest of 2 source descriptions. The JSON record has them.

MoveEnter Open