NetSight
kritisch9.4

CVE-2026-114125

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

Auswirkung

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.

Ein Angreifer kann die Lücke über das Netzwerk ausnutzen, ohne Anmeldung, allerdings muss ein Nutzer beteiligt sein, etwa indem er Inhalte ansieht. Bei Erfolg: hohes Risiko, dass Daten ausgelesen werden, hohes Risiko, dass Daten oder Systeme verändert werden, hohes Risiko für Ausfälle.

Betroffene Pakete

ÖkosystemPaketBetroffenBehoben in
npmstorybook>= 8.0.0, < 8.6.198.6.19
npm@storybook/core>= 8.0.0, < 8.6.198.6.19
npm@storybook/core-server>= 8.0.0, < 8.6.198.6.19
npm@storybook/experimental-addon-test>= 8.0.0, < 8.6.198.6.19
npm@storybook/addon-vitest>= 9.0.0, < 9.1.219.1.21
npm@storybook/addon-mcp>= 10.6.0, < 10.6.210.6.2

Schwachstellenklasse

Referenzen