chore(deps): update dependency webpack-dev-server to v5.2.5 [security]#5554
Open
renovate-bot wants to merge 1 commit into
Open
chore(deps): update dependency webpack-dev-server to v5.2.5 [security]#5554renovate-bot wants to merge 1 commit into
renovate-bot wants to merge 1 commit into
Conversation
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.
This PR contains the following updates:
5.2.4→5.2.5webpack-dev-server vulnerable to HMR WebSocket interception via permissive user proxies
CVE-2026-9595 / GHSA-mx8g-39q3-5c79
More information
Details
Impact
When a user-configured proxy on
webpack-dev-serverhas a broad context (e.g./) andws: true, it also intercepts the dev server's own HMR WebSocket and forwards it to the proxy target. This leaks the browser's cookies andOriginheader to the backend, bypasses the dev server's Host/Origin validation, and corrupts the HMR socket (both HMR and the proxy end up writing to the same socket).Patches
Fixed in
webpack-dev-server5.2.5.Workarounds
Scope user-defined proxy
contextto specific paths instead of/, or omitws: truefrom the proxy entry when WebSocket forwarding is not required.Severity
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:LReferences
This data is provided by the GitHub Advisory Database (CC-BY 4.0).
webpack-dev-server vulnerable to HMR WebSocket interception via permissive user proxies
CVE-2026-9595 / GHSA-mx8g-39q3-5c79
More information
Details
Impact
When a user-configured proxy on
webpack-dev-serverhas a broad context (e.g./) andws: true, it also intercepts the dev server's own HMR WebSocket and forwards it to the proxy target. This leaks the browser's cookies andOriginheader to the backend, bypasses the dev server's Host/Origin validation, and corrupts the HMR socket (both HMR and the proxy end up writing to the same socket).Patches
Fixed in
webpack-dev-server5.2.5.Workarounds
Scope user-defined proxy
contextto specific paths instead of/, or omitws: truefrom the proxy entry when WebSocket forwarding is not required.Severity
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:LReferences
This data is provided by OSV and the GitHub Advisory Database (CC-BY 4.0).
Release Notes
webpack/webpack-dev-server (webpack-dev-server)
v5.2.5Compare Source
Patch Changes
All notable changes to this project will be documented in this file. See standard-version for commit guidelines.
5.2.4 (2026-05-11)
Bug Fixes
5.2.3 (2026-01-12)
Bug Fixes
causeforerrorObject(#5518) (37b033d)5.2.2 (2025-06-03)
Bug Fixes
X_TEST(#5451) (64a6124)allowedHostsoption for cross-origin header check (#5510) (03d1214)Configuration
📅 Schedule: (in timezone Australia/Sydney)
🚦 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.
This PR was generated by Mend Renovate. View the repository job log.