Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. @storybook/addon-vitest
  4. ›
  5. CVE-2026-114125

CVE-2026-114125: Storybook: Missing origin validation in Storybook preview allows code injection from malicious websites

October 21, 2026

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.

References

  • github.com/advisories/GHSA-f2ph-cmg5-wxc8
  • github.com/storybookjs/storybook/commit/243c06bf8f1e2f09446c44868ea100261e1374da
  • github.com/storybookjs/storybook/commit/3be03ec6f11f4616471cebc3fc65c13e1bf8c178
  • github.com/storybookjs/storybook/commit/a9ef9345d73224c73e0b81dc2701ec5b465ea9bb
  • github.com/storybookjs/storybook/commit/d9b09e332510a88689c71ecc081bbbc2d072476e
  • github.com/storybookjs/storybook/commit/df3fed468c9b4830605f00068c4bc6b7e1e215ed
  • github.com/storybookjs/storybook/pull/36726
  • github.com/storybookjs/storybook/releases/tag/v10.6.2
  • github.com/storybookjs/storybook/releases/tag/v11.0.0-alpha.6
  • github.com/storybookjs/storybook/releases/tag/v8.6.19
  • github.com/storybookjs/storybook/releases/tag/v9.1.21
  • github.com/storybookjs/storybook/security/advisories/GHSA-f2ph-cmg5-wxc8
  • nvd.nist.gov/vuln/detail/CVE-2026-114125

Code Behaviors & Features

Detect and mitigate CVE-2026-114125 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions starting from 9.0.0 before 9.1.21, all versions starting from 10.0.0 before 10.6.2, all versions starting from 11.0.0-alpha.0 before 11.0.0-alpha.6

Fixed versions

  • 9.1.21
  • 10.6.2
  • 11.0.0-alpha.6

Solution

Upgrade to versions 9.1.21, 10.6.2, 11.0.0-alpha.6 or above.

Impact 9.6 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-1021: Improper Restriction of Rendered UI Layers or Frames
  • CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
  • CWE-346: Origin Validation Error
  • CWE-441: Unintended Proxy or Intermediary ('Confused Deputy')
  • CWE-749: Exposed Dangerous Method or Function
  • CWE-862: Missing Authorization
  • CWE-94: Improper Control of Generation of Code ('Code Injection')
  • CWE-96: Improper Neutralization of Directives in Statically Saved Code ('Static Code Injection')

Source file

npm/@storybook/addon-vitest/CVE-2026-114125.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Fri, 23 Oct 2026 00:16:10 +0000.