Skip to content

Update dependency storybook to v10.2.10 [SECURITY]#288

Open
balena-renovate[bot] wants to merge 1 commit intomasterfrom
renovate/npm-storybook-vulnerability
Open

Update dependency storybook to v10.2.10 [SECURITY]#288
balena-renovate[bot] wants to merge 1 commit intomasterfrom
renovate/npm-storybook-vulnerability

Conversation

@balena-renovate
Copy link
Copy Markdown
Contributor

@balena-renovate balena-renovate Bot commented Feb 26, 2026

This PR contains the following updates:

Package Change Age Confidence
storybook (source) 10.1.1010.2.10 age confidence

Storybook Dev Server is Vulnerable to WebSocket Hijacking

CVE-2026-27148 / GHSA-mjf5-7g4m-gx5w

More information

Details

Summary

The WebSocket functionality in Storybook's dev server, used to create and update stories, is vulnerable to WebSocket hijacking. This vulnerability only affects the Storybook dev server; production builds are not impacted.

Details

Exploitation requires a developer to visit a malicious website while their local Storybook dev server is running. Because the WebSocket connection does not validate the origin of incoming connections, a malicious site can silently send WebSocket messages to the local instance without any further user interaction.

If a Storybook dev server is intentionally exposed publicly (e.g. for design reviews or stakeholder demos) the risk is higher, as no malicious site visit is required. Any unauthenticated attacker can send WebSocket messages to it directly.

The vulnerability affects the WebSocket message handlers for creating and saving stories, which can be exploited via unauthorized WebSocket connections to achieve persistent XSS or Remote Code Execution (RCE).

Note: recent versions of Chrome have some protections against this, but Firefox does not.

Impact

This vulnerability can lead to supply chain compromise. Key risks include:

  • Remote Code Execution: The vulnerability can allow attackers to execute malicious code, with the extent of impact depending on the configuration. Server-side RCE is possible in non-default configurations, such as when stories are executed via portable stories in JSDOM, potentially allowing attackers to exfiltrate credentials and environment variables, access source code and the filesystem, establish backdoors, or pivot to internal network resources.
  • Persistent XSS: Malicious payloads are written directly into story source files. If the malicious payload is committed to version control, it becomes part of the codebase and can propagate to deployed Storybook documentation sites, affecting developers and stakeholders who view them.
  • Supply Chain Propagation: If the modified source files are committed, injected code can spread to other team members via git, execute in CI/CD pipelines, and affect shared component libraries used across multiple projects.
Affected versions

8.1 and above. While the exploitable functionality was introduced in 8.1, the patch has been applied to 7.x as a precautionary measure given the underlying WebSocket behaviour.

Recommended actions

Update to one of the patched versions: 7.6.23, 8.6.17, 9.1.19, 10.2.10.

Severity

  • CVSS Score: 8.9 / 10 (High)
  • Vector String: CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H

References

This data is provided by the GitHub Advisory Database (CC-BY 4.0).


Release Notes

storybookjs/storybook (storybook)

v10.2.10

Compare Source

v10.2.9

Compare Source

v10.2.8

Compare Source

v10.2.7

Compare Source

v10.2.6

Compare Source

v10.2.5

Compare Source

v10.2.4

Compare Source

v10.2.3

Compare Source

v10.2.2

Compare Source

v10.2.1

Compare Source

v10.2.0

Compare Source

Improved UI and story authoring ergonomics

Storybook 10.2 contains hundreds of fixes and improvement including:

  • 💅 New Viewports and Zoom UI
  • 🏭 Typesafe CSF factories for Vue, Angular, Web Components (preview)
  • 📄 MDX support for Storybook MCP (experimental)
List of all updates

v10.1.11

Compare Source


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • ""
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate.

@flowzone-app
Copy link
Copy Markdown
Contributor

flowzone-app Bot commented Feb 26, 2026

Website deployed to CF Pages, 👀 preview link https://ff19b39b.balena-design-system.pages.dev

@balena-renovate balena-renovate Bot changed the title Update dependency storybook to v10.2.10 [SECURITY] Update dependency storybook to v10.2.10 [SECURITY] - autoclosed Mar 27, 2026
@balena-renovate balena-renovate Bot closed this Mar 27, 2026
@balena-renovate balena-renovate Bot deleted the renovate/npm-storybook-vulnerability branch March 27, 2026 01:15
@balena-renovate balena-renovate Bot changed the title Update dependency storybook to v10.2.10 [SECURITY] - autoclosed Update dependency storybook to v10.2.10 [SECURITY] Mar 30, 2026
@balena-renovate balena-renovate Bot reopened this Mar 30, 2026
@balena-renovate balena-renovate Bot force-pushed the renovate/npm-storybook-vulnerability branch 2 times, most recently from 450aeb1 to a1a2f4a Compare March 30, 2026 18:11
@balena-renovate balena-renovate Bot changed the title Update dependency storybook to v10.2.10 [SECURITY] Update dependency storybook to v10.2.10 [SECURITY] - autoclosed Apr 27, 2026
@balena-renovate balena-renovate Bot closed this Apr 27, 2026
@balena-renovate balena-renovate Bot changed the title Update dependency storybook to v10.2.10 [SECURITY] - autoclosed Update dependency storybook to v10.2.10 [SECURITY] Apr 27, 2026
@balena-renovate balena-renovate Bot reopened this Apr 27, 2026
@balena-renovate balena-renovate Bot force-pushed the renovate/npm-storybook-vulnerability branch 2 times, most recently from a1a2f4a to 1866dda Compare April 27, 2026 20:15
@balena-renovate balena-renovate Bot changed the title Update dependency storybook to v10.2.10 [SECURITY] Update dependency storybook to v10.2.10 [SECURITY] - autoclosed Apr 27, 2026
@balena-renovate balena-renovate Bot closed this Apr 27, 2026
@balena-renovate balena-renovate Bot changed the title Update dependency storybook to v10.2.10 [SECURITY] - autoclosed Update dependency storybook to v10.2.10 [SECURITY] Apr 27, 2026
@balena-renovate balena-renovate Bot reopened this Apr 27, 2026
@balena-renovate balena-renovate Bot force-pushed the renovate/npm-storybook-vulnerability branch 3 times, most recently from 2951791 to f9acc6a Compare April 30, 2026 14:33
Update storybook from 10.1.10 to 10.2.10

Change-type: patch
@balena-renovate balena-renovate Bot force-pushed the renovate/npm-storybook-vulnerability branch from f9acc6a to e176dd6 Compare May 7, 2026 15:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants