Read the docs

Missing origin checks in Storybook preview allow code injection

Priority LOW 39CWE-1021Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
Active
Attack complexity
Low
Attack requirements
None
Impact type
Spoofing, Security bypass, Code execution
Confidentiality · integrity · availability
High · High · High
Fix status
Partial Red Hat: 1 fixed, 2 without a fix

Attack profile from CVSS 4.0 · CNA. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-1021, CWE-346 and CWE-94.

Summary

Storybook 8.0.0 before 8.6.19, 9.0.0 before 9.1.21, 10.0.0 before 10.6.2, and 11.0.0-alpha.0 before 11.0.0-alpha.6 are affected. Missing origin validation (CWE-346) lets a malicious website send events to the running preview. A developer must visit the malicious website and interact with the injected interface, after which the attacker can alter story files. If a changed file is later run by a local runtime, the attacker gets code execution with the developer's privileges.

Written with Claude Haiku 5.5 from the sources below · 2026-10-28

Description from the CNA

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00385 32nd percentileScored 2026-11-07
Fix Partial storybook (storybookjs): 8.6.19, 9.1.21, 10.6.2 +1storybook (npm): 8.6.19, 9.1.21, 10.6.2 +1+5 more productsRed Hat: 3 advisoriesRed Hat: 1 fixed, 2 without a fix

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
storybookjsstorybook8.0.0 to before 8.6.19; 9.0.0 to before 9.1.21; 10.0.0 to before 10.6.2; 11.0.0-alpha.0 to before 11.0.0-alpha.68.6.19, 9.1.21, 10.6.2, 11.0.0-alpha.6Patch availableCNA
—storybook (npm)8.0.0 to before 8.6.198.6.19Patch availableGHSA-f2ph-cmg5-wxc8
—storybook (npm)9.0.0 to before 9.1.219.1.21Patch availableGHSA-f2ph-cmg5-wxc8
—storybook (npm)10.0.0 to before 10.6.210.6.2Patch availableGHSA-f2ph-cmg5-wxc8
—storybook (npm)11.0.0-alpha.0 to before 11.0.0-alpha.611.0.0-alpha.6Patch availableGHSA-f2ph-cmg5-wxc8
—@storybook/core (npm)8.0.0 to before 8.6.198.6.19Patch availableGHSA-f2ph-cmg5-wxc8
—@storybook/core-server (npm)8.0.0 to before 8.6.198.6.19Patch availableGHSA-f2ph-cmg5-wxc8
—@storybook/experimental-addon-test (npm)8.0.0 to before 8.6.198.6.19Patch availableGHSA-f2ph-cmg5-wxc8
—@storybook/addon-vitest (npm)9.0.0 to before 9.1.219.1.21Patch availableGHSA-f2ph-cmg5-wxc8
—@storybook/addon-vitest (npm)10.0.0 to before 10.6.210.6.2Patch availableGHSA-f2ph-cmg5-wxc8
—@storybook/addon-vitest (npm)11.0.0-alpha.0 to before 11.0.0-alpha.611.0.0-alpha.6Patch availableGHSA-f2ph-cmg5-wxc8
—@storybook/addon-mcp (npm)10.6.0 to before 10.6.210.6.2Patch availableGHSA-f2ph-cmg5-wxc8
—@storybook/addon-mcp (npm)11.0.0-alpha.0 to before 11.0.0-alpha.611.0.0-alpha.6Patch availableGHSA-f2ph-cmg5-wxc8
  • storybook Vendorstorybookjs Affected 8.0.0 to before 8.6.19; 9.0.0 to before 9.1.21; 10.0.0 to before 10.6.2; 11.0.0-alpha.0 to before 11.0.0-alpha.6 Fixed in 8.6.19, 9.1.21, 10.6.2, 11.0.0-alpha.6 Patch available CNA
  • storybook (npm) Vendor— Affected 8.0.0 to before 8.6.19 Fixed in 8.6.19 Patch available GHSA-f2ph-cmg5-wxc8
  • storybook (npm) Vendor— Affected 9.0.0 to before 9.1.21 Fixed in 9.1.21 Patch available GHSA-f2ph-cmg5-wxc8
  • storybook (npm) Vendor— Affected 10.0.0 to before 10.6.2 Fixed in 10.6.2 Patch available GHSA-f2ph-cmg5-wxc8
  • storybook (npm) Vendor— Affected 11.0.0-alpha.0 to before 11.0.0-alpha.6 Fixed in 11.0.0-alpha.6 Patch available GHSA-f2ph-cmg5-wxc8
  • @storybook/core (npm) Vendor— Affected 8.0.0 to before 8.6.19 Fixed in 8.6.19 Patch available GHSA-f2ph-cmg5-wxc8
  • @storybook/core-server (npm) Vendor— Affected 8.0.0 to before 8.6.19 Fixed in 8.6.19 Patch available GHSA-f2ph-cmg5-wxc8
  • @storybook/experimental-addon-test (npm) Vendor— Affected 8.0.0 to before 8.6.19 Fixed in 8.6.19 Patch available GHSA-f2ph-cmg5-wxc8
  • @storybook/addon-vitest (npm) Vendor— Affected 9.0.0 to before 9.1.21 Fixed in 9.1.21 Patch available GHSA-f2ph-cmg5-wxc8
  • @storybook/addon-vitest (npm) Vendor— Affected 10.0.0 to before 10.6.2 Fixed in 10.6.2 Patch available GHSA-f2ph-cmg5-wxc8
  • @storybook/addon-vitest (npm) Vendor— Affected 11.0.0-alpha.0 to before 11.0.0-alpha.6 Fixed in 11.0.0-alpha.6 Patch available GHSA-f2ph-cmg5-wxc8
  • @storybook/addon-mcp (npm) Vendor— Affected 10.6.0 to before 10.6.2 Fixed in 10.6.2 Patch available GHSA-f2ph-cmg5-wxc8
  • @storybook/addon-mcp (npm) Vendor— Affected 11.0.0-alpha.0 to before 11.0.0-alpha.6 Fixed in 11.0.0-alpha.6 Patch available GHSA-f2ph-cmg5-wxc8

Remediation

Upgrade Storybook to 8.6.19, 9.1.21, 10.6.2 or 11.0.0-alpha.6. Upgrade @storybook/core, @storybook/core-server and @storybook/experimental-addon-test to 8.6.19, @storybook/addon-vitest to 9.1.21, 10.6.2 or 11.0.0-alpha.6, and @storybook/addon-mcp to 10.6.2 or 11.0.0-alpha.6. Red Hat fixes Hardened Images in RHSA-2026:88541, RHSA-2026:88537 and RHSA-2026:88478. The sources list no fixed version for Node HealthCheck Operator and Red Hat Build of Podman Desktop.

Written with Claude Haiku 5.5 from the sources below · 2026-10-28

  • Fix · CNA storybook (storybookjs) Fixed in 8.6.19, 9.1.21, 10.6.2, 11.0.0-alpha.6
  • Fix · GHSA-f2ph-cmg5-wxc8 storybook (npm) Fixed in 8.6.19 Advisory →
  • Fix · GHSA-f2ph-cmg5-wxc8 storybook (npm) Fixed in 9.1.21 Advisory →
  • Fix · GHSA-f2ph-cmg5-wxc8 storybook (npm) Fixed in 10.6.2 Advisory →
  • Fix · GHSA-f2ph-cmg5-wxc8 storybook (npm) Fixed in 11.0.0-alpha.6 Advisory →
  • Fix · GHSA-f2ph-cmg5-wxc8 @storybook/core (npm) Fixed in 8.6.19 Advisory →
  • Fix · GHSA-f2ph-cmg5-wxc8 @storybook/core-server (npm) Fixed in 8.6.19 Advisory →
  • Fix · GHSA-f2ph-cmg5-wxc8 @storybook/experimental-addon-test (npm) Fixed in 8.6.19 Advisory →
  • Fix · GHSA-f2ph-cmg5-wxc8 @storybook/addon-vitest (npm) Fixed in 9.1.21 Advisory →
  • Fix · GHSA-f2ph-cmg5-wxc8 @storybook/addon-vitest (npm) Fixed in 10.6.2 Advisory →
  • Fix · GHSA-f2ph-cmg5-wxc8 @storybook/addon-vitest (npm) Fixed in 11.0.0-alpha.6 Advisory →
  • Fix · GHSA-f2ph-cmg5-wxc8 @storybook/addon-mcp (npm) Fixed in 10.6.2 Advisory →
  • Fix · GHSA-f2ph-cmg5-wxc8 @storybook/addon-mcp (npm) Fixed in 11.0.0-alpha.6 Advisory →

Red Hat 3 advisories

  • RHSA-2026:88541 Released 2026-10-23 · Red Hat rating Important
    Red Hat Hardened Images RPMs Security Update
    • Red Hat Hardened Images grafana13.2-13.2.4-0.3.hum1@aarch64, grafana13.2-13.2.4-0.3.hum1@s390x, grafana13.2-13.2.4-0.3.hum1@src +1
  • RHSA-2026:88537 Released 2026-10-23 · Red Hat rating Important
    Red Hat Hardened Images RPMs Security Update
    • Red Hat Hardened Images grafana13.1-13.1.8-0.4.hum1@aarch64, grafana13.1-13.1.8-0.4.hum1@s390x, grafana13.1-13.1.8-0.4.hum1@src +1
  • RHSA-2026:88478 Released 2026-10-23 · Red Hat rating Important
    Red Hat Hardened Images RPMs Security Update
    • Red Hat Hardened Images grafana12.4-12.4.13-0.3.hum1@aarch64, grafana12.4-12.4.13-0.3.hum1@src, grafana12.4-12.4.13-0.3.hum1@x86_64

Vendor assessments

Red Hat

Red Hat rating: Important. Red Hat's page for this CVE →

ProductStatusPlan or fix
Node HealthCheck OperatorAffectedNo fix yet
Red Hat Build of Podman DesktopAffectedNo fix yet
Red Hat Hardened ImagesFixed RHSA-2026:88478, RHSA-2026:88537, RHSA-2026:88541
Not affected: 2 products
  • Red Hat Enterprise Linux 10
  • Red Hat Enterprise Linux 9

Timeline

  1. 2026-10-21 Threatist record created from CVE-2026-114125
  2. 2026-10-21 Alias added: GHSA-f2ph-cmg5-wxc8
  3. 2026-10-21 Fix available: npm/@storybook/[email protected], npm/@storybook/[email protected], npm/@storybook/[email protected] +9 · GHSA-f2ph-cmg5-wxc8
  4. 2026-10-21 CVSS score added · GHSA-f2ph-cmg5-wxc8
  5. 2026-10-21 Weakness changed · GHSA-f2ph-cmg5-wxc8
  6. 2026-10-21 12 new references · GHSA-f2ph-cmg5-wxc8
  7. 2026-10-22 Affected versions changed · Red Hat
  8. 2026-10-22 CVSS score added · Red Hat
  9. 2026-10-23 Fix available: RHSA-2026:88541 · Red Hat
  10. 2026-10-23 Fix available: RHSA-2026:88478 · Red Hat
  11. 2026-10-23 Fix available: RHSA-2026:88537 · Red Hat
  12. 2026-10-23 Fix available: Red Hat Hardened Images · Red Hat
  13. 2026-10-23 Priority changed: MEDIUM → LOW
  14. 2026-10-28 CISA SSVC decision points changed

References

  • TI-2026-78906 Storybook dev server exposes WebSocket token to LAN attackers CVSS 4.0HIGH 8.7
  • TI-2026-34698 TeleJSON < 6.0.0 DOM-based XSS via parse() Function CVSS 4.0LOW 2.1

Sources