UID2-7491: bump websocket-driver to 0.7.5 (CVE-2026-54466)#1046
Merged
Conversation
Add npm override forcing websocket-driver ^0.7.5 to remediate CVE-2026-54466 (CRITICAL) flagged by Trivy. websocket-driver is a dev-only transitive dependency (webpack-dev-server -> sockjs/ faye-websocket) and is not reachable in the static production build, but a clean patch-level fix is available so we upgrade rather than suppress. UID2-7491 Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Ticket: UID2-7491 Branch: syw-UID2-7491-websocket-driver-cve
swibi-ttd
approved these changes
Jul 17, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Remediates CVE-2026-54466 (CRITICAL) in
websocket-driver0.7.4 → 0.7.5, flagged by the scheduled Trivy vulnerability scan.Fix
Adds an npm
overridesentry"websocket-driver": "^0.7.5"and regeneratespackage-lock.json. This matches the existing convention in this repo of pinning transitive security fixes in theoverridesblock (ws,shell-quote,minimatch, …).Impact assessment
websocket-driveris a dev-only transitive dependency:webpack-dev-serveronly runs during localnpm start; the deployed site is a staticdocusaurus build, so the "message corruption via protocol abuse" attack (which needs a live WS server) is not reachable in production. A clean patch-level fix is available, so we upgrade rather than suppress — this permanently clears the CRITICAL alarm instead of a time-limited.trivyignore.Jira: UID2-7491
🤖 Generated with Claude Code