@storybook/addon-vitest is vulnerable to Code Injection
88
High Risk
@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.
You are affected if you are using a version that falls within the vulnerable range and you run Storybook tests with this addon.
@storybook/addon-vitest is vulnerable to Code Injection in versions 9.0.0 - 9.1.20 and 10.0.0 - 10.6.1.
Upgrade the @storybook/addon-vitest library to the patch version.
Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.
Free. No credit card required.

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.