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.
- Products
- storybook
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2026-114125
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 19:24 UTC · Revision 2
Source evidence
Storybook: Missing origin validation in Storybook preview allows code injection from malicious websites
core-cve · Original sourcePublished 21 Oct 2026, 17:08 UTC
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:CVE-2026-114125
storybook
Fixed versions: Not specified
Complete source record
{
"id": "b89128975eb643e7356584576e234e9945fde142b50227c6d599af0a9db4d796",
"url": "https://www.cve.org/CVERecord?id=CVE-2026-114125",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "Storybook: Missing origin validation in Storybook preview allows code injection from malicious websites",
"summary": "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.",
"evidence": "cve:CVE-2026-114125",
"products": [
{
"name": {
"value": "storybook",
"evidence": "/containers/cna/affected/0/product"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": []
}
],
"severity": "high",
"structured": {
"id": "CVE-2026-114125",
"aliases": [
"CVE-2026-114125"
],
"metrics": [
{
"cvssV4_0": {
"version": "4.0",
"baseScore": 8.6,
"attackVector": "NETWORK",
"baseSeverity": "HIGH",
"vectorString": "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",
"userInteraction": "ACTIVE",
"attackComplexity": "LOW",
"attackRequirements": "NONE",
"privilegesRequired": "NONE",
"subIntegrityImpact": "NONE",
"vulnIntegrityImpact": "HIGH",
"subAvailabilityImpact": "NONE",
"vulnAvailabilityImpact": "HIGH",
"subConfidentialityImpact": "NONE",
"vulnConfidentialityImpact": "HIGH"
}
}
],
"affected": [
{
"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"
}
]
}
],
"modified": "2026-10-28T17:13:06.610Z",
"provider": "cve",
"references": [
"https://github.com/storybookjs/storybook/security/advisories/GHSA-f2ph-cmg5-wxc8",
"https://github.com/storybookjs/storybook/pull/36726",
"https://github.com/storybookjs/storybook/commit/243c06bf8f1e2f09446c44868ea100261e1374da",
"https://github.com/storybookjs/storybook/commit/3be03ec6f11f4616471cebc3fc65c13e1bf8c178",
"https://github.com/storybookjs/storybook/commit/97513d999910d071c2b36830495dab63e17d9fe0",
"https://github.com/storybookjs/storybook/commit/d9b09e332510a88689c71ecc081bbbc2d072476e",
"https://github.com/storybookjs/storybook/commit/df3fed468c9b4830605f00068c4bc6b7e1e215ed",
"https://github.com/storybookjs/storybook/releases/tag/v10.6.2",
"https://github.com/storybookjs/storybook/releases/tag/v11.0.0-alpha.6",
"https://github.com/storybookjs/storybook/releases/tag/v8.6.19",
"https://github.com/storybookjs/storybook/releases/tag/v9.1.21"
],
"provider_metadata": {
"adp": [
{
"title": "CISA ADP Vulnrichment",
"metrics": [
{
"other": {
"type": "ssvc",
"content": {
"id": "CVE-2026-114125",
"role": "CISA Coordinator",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "no"
},
{
"Technical Impact": "total"
}
],
"version": "2.0.3",
"timestamp": "2026-10-28T17:12:45.621272Z"
}
}
}
],
"providerMetadata": {
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP",
"dateUpdated": "2026-10-28T17:13:06.610Z"
}
}
],
"cna": {
"orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
"shortName": "GitHub_M",
"dateUpdated": "2026-10-21T17:08:12.102Z"
}
}
},
"related_cves": [
{
"value": "CVE-2026-114125",
"evidence": "/cveMetadata/cveId"
}
],
"security_relevant": true,
"severity_evidence": "/containers/cna/metrics"
},
"source_id": "core-cve",
"document_id": 464404,
"published_at": "2026-10-21T17:08:12.102+00:00"
}