In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applicationsLearn about Arbitrary Code Injection vulnerabilities in an interactive lesson.
Start learningUpgrade storybook to version 7.6.23, 8.6.17, 9.1.19, 10.2.10 or higher.
storybook is a frontend workshop for building UI components and pages in isolation.
Affected versions of this package are vulnerable to Arbitrary Code Injection via the WebSocket message handlers for creating and saving stories, specifically through unsanitized input in the componentFilePath field. An attacker can achieve persistent code execution or inject malicious scripts by sending crafted WebSocket messages to the local development server.
Note:
This is only exploitable if a developer visits a malicious website while their local development server is running, or if the development server is intentionally exposed publicly.