Skip to content

chore(deps): update dependency storybook to v8.6.17 and js-yaml#1992

Merged
kkedziak-splunk merged 5 commits intodevelopfrom
renovate/npm-storybook-vulnerability
Mar 3, 2026
Merged

chore(deps): update dependency storybook to v8.6.17 and js-yaml#1992
kkedziak-splunk merged 5 commits intodevelopfrom
renovate/npm-storybook-vulnerability

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Feb 26, 2026

This PR contains the following updates:

Package Change Age Confidence
storybook (source) 8.6.158.6.17 age confidence

GitHub Vulnerability Alerts

CVE-2026-27148

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.


Release Notes

storybookjs/storybook (storybook)

v8.6.17

Compare Source

8.6.17

  • Harden websocket connection

v8.6.16

Compare Source

8.6.16

  • No-op release. No changes.

Configuration

📅 Schedule: Branch creation - "" (UTC), Automerge - At any time (no schedule defined).

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

Rebasing: Whenever PR becomes conflicted, 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 was generated by Mend Renovate. View the repository job log.

@renovate renovate bot requested a review from a team as a code owner February 26, 2026 23:15
@renovate renovate bot requested a review from soleksy-splunk February 26, 2026 23:15
@renovate renovate bot force-pushed the renovate/npm-storybook-vulnerability branch 4 times, most recently from 5d1c89e to 823daaf Compare March 3, 2026 14:25
@renovate renovate bot force-pushed the renovate/npm-storybook-vulnerability branch from 2aa8f9f to 8c77e28 Compare March 3, 2026 15:10
@kkedziak-splunk kkedziak-splunk changed the title chore(deps): update dependency storybook to v8.6.17 [security] chore(deps): update dependency storybook to v8.6.17 and js-yaml Mar 3, 2026
…lity' into renovate/npm-storybook-vulnerability
kkedziak-splunk
kkedziak-splunk previously approved these changes Mar 3, 2026
@renovate
Copy link
Contributor Author

renovate bot commented Mar 3, 2026

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

⚠️ Warning: custom changes will be lost.

@kkedziak-splunk kkedziak-splunk merged commit 18da76e into develop Mar 3, 2026
@kkedziak-splunk kkedziak-splunk deleted the renovate/npm-storybook-vulnerability branch March 3, 2026 15:39
@github-actions github-actions bot locked and limited conversation to collaborators Mar 3, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants