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.
CVE-2026-114125
Primary source · Revision 1
Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.
Security context
Source reference: cve:CVE-2026-114125
storybook
Source reference: /containers/cna/affected/0/product
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Structured affected-version data
Original package identities and version rules from this source.
[
{
"vendor": "storybookjs",
"product": "storybook",
"versions": [
{
"status": "affected",
"version": ">= 8.0.0, < 8.6.19"
},
{
"status": "affected",
"version": ">= 9.0.0, < 9.1.21"
},
{
"status": "affected",
"version": ">= 10.0.0, < 10.6.2"
},
{
"status": "affected",
"version": ">= 11.0.0-alpha.0, < 11.0.0-alpha.6"
}
]
}
]- Related CVEs
- CVE-2026-114125
Source reference:
/cveMetadata/cveId
Publisher severity
high
Source reference: /containers/cna/metrics
- Event
- #49292 · Revision 1
- Added to Heist Feed
- Publisher date