Intel

AIKIDO-2026-420100

@storybook/experimental-addon-test is vulnerable to Code Injection

Code InjectionGHSA-px85-f4q5-jh77 Published Yesterday

88

High Risk

This Affects:

JS@storybook/experimental-addon-test
8.0.0 - 8.6.18
Fixed in 8.6.19
Are you affected? Scan for Free

TL;DR

@storybook/experimental-addon-test 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.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and you run Storybook tests with this addon.

Background info

@storybook/experimental-addon-test is vulnerable to Code Injection in versions 8.0.0 - 8.6.18.

How to fix this

Upgrade the @storybook/experimental-addon-test library to the patch version.

Are You Affected?

Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.

Free. No credit card required.

Aikido Platform