Vulnerability library
Security checkOctober 21, 2026

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

Understand the exposure, see the recommended fix, and check whether your own website has related weaknesses.

High severitynpmstorybook

Check your website

Find this and other vulnerabilities with a free scan.

Your scan runs on your computer. No account required.

Description

Summary: A malicious website may be able to cause unauthorized file changes in a developer’s project while an affected Storybook development server is running. Under additional conditions, a changed file could be executed by a local runtime with the developer’s privileges. We are not aware of exploitation in the wild.

Recommendation

Update the storybook package to the latest compatible version. Followings are version details:

  • Affected version(s): **>= 11.0.0-alpha.0, < 11.0.0-alpha.6 >= 10.0.0, < 10.6.2 >= 9.0.0, < 9.1.21 >= 8.0.0, < 8.6.19**
  • Patched version(s): **11.0.0-alpha.6 10.6.2 9.1.21 8.6.19**

References

Could your website be exposed too?

SmartScanner can check your website for Storybook: Missing origin validation in Storybook preview allows code injection from malicious websites and gives you actionable findings to investigate.

Start a free scan

Related Issues

See something that needs correcting? Let us knowUpdated October 21, 2026