Skip to content

Conversation

@mkouzel-yext
Copy link
Contributor

A vulnerability exists in storybook 8.5.0 that bundles the .env file in the static output during the storybook build. This vulnerability is fixed in version 8.6.15.

A vulnerability exists in storybook 8.5.0 that bundles the .env file in the static output during the storybook build. This vulnerability is fixed in version 8.6.15.

J=VULN-40848
TEST=auto
@mkouzel-yext mkouzel-yext requested a review from a team as a code owner December 29, 2025 14:49
@github-actions
Copy link
Contributor

github-actions bot commented Dec 29, 2025

Current unit coverage is 89.86632169038378%
Current visual coverage is 70.58823529411765%
Current combined coverage is 92.95952782462058%

@coveralls
Copy link

coveralls commented Dec 29, 2025

Coverage Status

coverage: 85.836%. remained the same
when pulling 2c42df3 on upgrade-storybook-for-vuln
into efeffaf on main.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR upgrades Storybook from version 8.5.0 to 8.6.15 to address a critical security vulnerability where .env files were being bundled in the static output during Storybook builds. The vulnerability was fixed in version 8.6.15.

Key Changes:

  • Upgraded all Storybook packages from 8.5.0 to 8.6.15
  • Updated related dependencies in package-lock.json
  • Maintained consistency across all Storybook package versions

Reviewed changes

Copilot reviewed 2 out of 5 changed files in this pull request and generated no comments.

File Description
package.json Updated 9 Storybook packages from 8.5.0 to 8.6.15
package-lock.json Updated dependency tree including Storybook packages and transitive dependencies

The changes look good overall. The upgrade is properly applied across all Storybook packages with consistent versioning. The package-lock.json reflects the expected dependency updates that come with the Storybook version bump.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

mkouzel-yext and others added 8 commits December 30, 2025 09:38
Adds a carat before the new storybook version (^8.6.15) so we automatically get new minor & patch version updates. Storybook adheres to semver, so none of the future updates will be breaking changes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants