p PatchFirst

CVE-2026-114125

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

This page contains facts from public vulnerability sources. Check the original advisory before updating.

Storybook is a frontend workshop for building user interface components and pages in isolation. From 8.0.0 until 8.6.19, 9.1.21, 10.6.2, and 11.0.0-alpha.6, a malicious website can interact with the preview of a running Storybook development server. Insufficient iframe embedding and message-origin restrictions can allow attacker-controlled events to reach the running preview. A developer must visit the malicious website and interact with the injected interface. The attack can cause unauthorized changes to story files and, if a changed file is later executed by a local runtime, arbitrary code execution with the developer's privileges. This issue is fixed in 8.6.19, 9.1.21, 10.6.2, and 11.0.0-alpha.6.

CVSS 8.6 · High · EPSS 0.4% · Fix available

Published
Updated

Stack: node

Affected products and versions

  • storybook

    Versions
    • >= 8.0.0, < 8.6.19: Affected
    • >= 9.0.0, < 9.1.21: Affected
    • >= 10.0.0, < 10.6.2: Affected
    • >= 11.0.0-alpha.0, < 11.0.0-alpha.6: Affected

    No fix published

  • storybook npm

    Affected ranges
    • SEMVER: ≥ 8.0.0, < 8.6.19

    Update to 8.6.19

  • storybook npm

    Affected ranges
    • SEMVER: ≥ 9.0.0, < 9.1.21

    Update to 9.1.21

  • storybook npm

    Affected ranges
    • SEMVER: ≥ 10.0.0, < 10.6.2

    Update to 10.6.2

  • storybook npm

    Affected ranges
    • SEMVER: ≥ 11.0.0-alpha.0, < 11.0.0-alpha.6

    Update to 11.0.0-alpha.6

  • @storybook/core npm

    Affected ranges
    • SEMVER: ≥ 8.0.0, < 8.6.19

    Update to 8.6.19

  • @storybook/core-server npm

    Affected ranges
    • SEMVER: ≥ 8.0.0, < 8.6.19

    Update to 8.6.19

  • @storybook/experimental-addon-test npm

    Affected ranges
    • SEMVER: ≥ 8.0.0, < 8.6.19

    Update to 8.6.19

  • @storybook/addon-vitest npm

    Affected ranges
    • SEMVER: ≥ 9.0.0, < 9.1.21

    Update to 9.1.21

  • @storybook/addon-vitest npm

    Affected ranges
    • SEMVER: ≥ 10.0.0, < 10.6.2

    Update to 10.6.2

  • @storybook/addon-vitest npm

    Affected ranges
    • SEMVER: ≥ 11.0.0-alpha.0, < 11.0.0-alpha.6

    Update to 11.0.0-alpha.6

  • @storybook/addon-mcp npm

    Affected ranges
    • SEMVER: ≥ 10.6.0, < 10.6.2

    Update to 10.6.2

  • @storybook/addon-mcp npm

    Affected ranges
    • SEMVER: ≥ 11.0.0-alpha.0, < 11.0.0-alpha.6

    Update to 11.0.0-alpha.6

Original sources

Check your server →