@storybook/addon-vitest is vulnerable to Code Injection
88
CVE Score
High
Code Injection
@storybook/addon-vitest runs story tests in the browser and leaves Vitest file writes and command execution enabled. A host on the local network that writes a story through the dev server can then run that story and execute code on the developer machine. Patched versions disable Vitest file writes and command execution unless the Vitest config sets those permissions.
Upgrade the @storybook/addon-vitest library to the patch version.
You are affected if you are using a version that falls within the vulnerable range and you run Storybook tests with this addon.
9.0.0 - 9.1.20
Fixed in 9.1.2110.0.0 - 10.6.1
Fixed in 10.6.2@storybook/addon-vitest is vulnerable to Code Injection in versions 9.0.0 - 9.1.20 and 10.0.0 - 10.6.1.
Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.
No credit card required | Scan results in 32 seconds.
I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant
ISO 42001Compliant© All Intel data is openly available and commercially licensed.