Update npm package webpack-dev-server to v5.2.4 [SECURITY]#8738
Update npm package webpack-dev-server to v5.2.4 [SECURITY]#8738hash-worker[bot] wants to merge 1 commit into
webpack-dev-server to v5.2.4 [SECURITY]#8738Conversation
|
|
The latest updates on your projects. Learn more about Vercel for GitHub.
2 Skipped Deployments
|
PR SummaryLow Risk Overview Reviewed by Cursor Bugbot for commit 9bbba88. Bugbot is set up for automated code reviews on this repo. Configure here. |
🤖 Augment PR SummarySummary: Updates the plugin-browser dev tooling dependency Why: Pulls in upstream security patching for the recent dev-server cross-origin bundle exfiltration issue (CVE/GHSA noted in the PR description). 🤖 Was this summary useful? React with 👍 or 👎 |
This PR contains the following updates:
5.2.3→5.2.4Warning
Some dependencies could not be looked up. Check the Dependency Dashboard for more information.
GitHub Vulnerability Alerts
CVE-2026-6402
Impact
When webpack-dev-server is running on a non-HTTPS origin (the default), cross-origin requests from malicious websites can load the dev server's JavaScript bundles via
<script>tags. The fix introduced in v5.2.1 (CVE-2025-30359) relied onSec-Fetch-ModeandSec-Fetch-Siterequest headers to block these requests, but browsers only send these headers for potentially trustworthy origins. Over plain HTTP, the headers are absent and the check is bypassed.An attacker who knows the dev server's host, port, and output path can exfiltrate all module source code by intercepting the webpack runtime's module registration.
This does not affect Chrome 142+ (and other Chromium-based browsers) due to local network access restrictions.
Patches
Patched in webpack-dev-server >= 5.2.4 by setting
Cross-Origin-Resource-Policy: same-originon responses.Workarounds
Run the dev server with HTTPS enabled (
--httpsorserver.type: 'https'in config).Resources
Release Notes
webpack/webpack-dev-server (webpack-dev-server)
v5.2.4Compare Source
Configuration
📅 Schedule: (UTC)
🚦 Automerge: Enabled.
♻ 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 has been generated by Renovate Bot.