Lokasi ngalangkungan proxy:   [ UP ]  
[Ngawartoskeun bug]   [Panyetelan cookie]                
Skip to content

🚨 [security] Update webpack-dev-server 5.2.4 β†’ 5.2.5 (patch)#417

Merged
canova merged 1 commit into
masterfrom
depfu/update/yarn/webpack-dev-server-5.2.5
Jun 18, 2026
Merged

🚨 [security] Update webpack-dev-server 5.2.4 β†’ 5.2.5 (patch)#417
canova merged 1 commit into
masterfrom
depfu/update/yarn/webpack-dev-server-5.2.5

Conversation

@depfu

@depfu depfu Bot commented Jun 17, 2026

Copy link
Copy Markdown

🚨 Your current dependencies have known security vulnerabilities 🚨

This dependency update fixes known security vulnerabilities. Please see the details below and assess their impact carefully. We recommend to merge and deploy this as soon as possible!


Here is everything you need to know about this update. Please take a good look at what changed and the test results before merging this pull request.

What changed?

✳️ webpack-dev-server (5.2.4 β†’ 5.2.5) Β· Repo Β· Changelog

Security Advisories 🚨

🚨 webpack-dev-server vulnerable to HMR WebSocket interception via permissive user proxies

Impact

When a user-configured proxy on webpack-dev-server has a broad context (e.g. /) and ws: true, it also intercepts the dev server's own HMR WebSocket and forwards it to the proxy target. This leaks the browser's cookies and Origin header 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-server 5.2.5.

Workarounds

Scope user-defined proxy context to specific paths instead of /, or omit ws: true from the proxy entry when WebSocket forwarding is not required.

Release Notes

5.2.5

Patch Changes

  • Skip the HMR WebSocket path when forwarding upgrade requests to user-defined proxies, so custom proxy WebSocket upgrades are no longer intercepted by the dev server. (by @bjohansebas in #5680)

Does any of this look wrong? Please let us know.

Commits

See the full diff on Github. The new version differs by 4 commits:


Depfu Status

Depfu will automatically keep this PR conflict-free, as long as you don't add any commits to this branch yourself. You can also trigger a rebase manually by commenting with @depfu rebase.

All Depfu comment commands
@​depfu rebase
Rebases against your default branch and redoes this update
@​depfu recreate
Recreates this PR, overwriting any edits that you've made to it
@​depfu merge
Merges this PR once your tests are passing and conflicts are resolved
@​depfu cancel merge
Cancels automatic merging of this PR
@​depfu close
Closes this PR and deletes the branch
@​depfu reopen
Restores the branch and reopens this PR (if it's closed)
@​depfu pause
Ignores all future updates for this dependency and closes this PR
@​depfu pause [minor|major]
Ignores all future minor/major updates for this dependency and closes this PR
@​depfu resume
Future versions of this dependency will create PRs again (leaves this PR as is)

@depfu depfu Bot requested review from canova and fatadel as code owners June 17, 2026 20:07
@depfu depfu Bot added the dependencies Pull requests that update a dependency file label Jun 17, 2026
@netlify

netlify Bot commented Jun 17, 2026

Copy link
Copy Markdown

βœ… Deploy Preview for firefox-devtools-react-contextmenu ready!

Name Link
πŸ”¨ Latest commit 13e58f1
πŸ” Latest deploy log https://app.netlify.com/projects/firefox-devtools-react-contextmenu/deploys/6a32fe9eeec1ba0009a0cf46
😎 Deploy Preview https://deploy-preview-417--firefox-devtools-react-contextmenu.netlify.app
πŸ“± Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
πŸ€– Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@depfu

depfu Bot commented Jun 17, 2026

Copy link
Copy Markdown
Author

Sorry, but the merge failed with:

At least 1 approving review is required by reviewers with write access.

1 similar comment
@depfu

depfu Bot commented Jun 17, 2026

Copy link
Copy Markdown
Author

Sorry, but the merge failed with:

At least 1 approving review is required by reviewers with write access.

@canova canova merged commit bf514dd into master Jun 18, 2026
6 checks passed
@depfu depfu Bot deleted the depfu/update/yarn/webpack-dev-server-5.2.5 branch June 18, 2026 09:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant