Update dependency webpack-dev-server to v5.2.6 [SECURITY] - #5126
Open
renovate[bot] wants to merge 1 commit into
Open
Update dependency webpack-dev-server to v5.2.6 [SECURITY]#5126renovate[bot] wants to merge 1 commit into
renovate[bot] wants to merge 1 commit into
Conversation
renovate
Bot
force-pushed
the
renovate/npm-webpack-dev-server-vulnerability
branch
from
July 21, 2026 06:14
b9be43f to
32e376a
Compare
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #5126 +/- ##
=======================================
Coverage 48.22% 48.22%
=======================================
Files 827 827
Lines 34120 34120
Branches 5837 5837
=======================================
Hits 16455 16455
Misses 15781 15781
Partials 1884 1884
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
renovate
Bot
force-pushed
the
renovate/npm-webpack-dev-server-vulnerability
branch
16 times, most recently
from
July 28, 2026 06:03
e6dd040 to
d372b24
Compare
renovate
Bot
force-pushed
the
renovate/npm-webpack-dev-server-vulnerability
branch
4 times, most recently
from
August 3, 2026 14:26
605154c to
325d0ad
Compare
renovate
Bot
force-pushed
the
renovate/npm-webpack-dev-server-vulnerability
branch
from
August 4, 2026 16:32
325d0ad to
2d5d6e8
Compare
renovate
Bot
force-pushed
the
renovate/npm-webpack-dev-server-vulnerability
branch
from
August 5, 2026 14:44
2d5d6e8 to
932ca67
Compare
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.5→5.2.6webpack-dev-server vulnerable to denial of service via a malformed Host or Origin header
CVE-2026-14631 / GHSA-m28w-2pqf-7qgj
More information
Details
Impact
An unauthenticated peer that can reach the
webpack-dev-serverprocess can terminate it by sending either a normal HTTP request with a malformedHostheader, or a WebSocket upgrade to the default/wsendpoint with a malformedOriginheader. The malformed header triggers an uncaught exception in the host-validation path and crashes the dev server process.Patches
Fixed in
webpack-dev-server5.2.6 by treating malformedHostandOriginheader values as invalid rather than throwing (see PR #5699).Workarounds
Keep the dev server bound to
localhost(the default) and do not expose it to untrusted networks.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 cross-site request forgery via internal developer endpoints
CVE-2026-14620 / GHSA-f5vj-f2hx-8m93
More information
Details
Impact
The internal
/webpack-dev-server/open-editorand/webpack-dev-server/invalidateendpoints perform state-changing actions on anyGETrequest, without verifying that the request originated from the dev server's own page. Any website a developer visits while the dev server is running can trigger them cross-origin with no interaction beyond the visit.An attacker can open an arbitrary existing local file in the developer's editor, including files outside the project root (e.g.
~/.ssh/config). The file's contents are not returned to the attacker. Repeated requests can also spawn editor processes and force recompilations, degrading the developer's machine.Patches
Fixed in
webpack-dev-server5.2.6 by rejecting cross-site requests to the/webpack-dev-server/open-editorand/webpack-dev-server/invalidateendpoints (see PR #5698).Workarounds
None
Severity
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:N/A:LReferences
This data is provided by the GitHub Advisory Database (CC-BY 4.0).
Release Notes
webpack/webpack-dev-server (webpack-dev-server)
v5.2.6Compare Source
Patch Changes
fix: allow
undefinedas theServerconstructoroptionsargument again (by @bjohansebas in #5695)Restores accepting
undefined(defaulting it to{}) for theoptionsargument, so passing a webpack config's optional
devServerfield type-checks and works as before.Protect the built-in state-changing routes (
/webpack-dev-server/invalidateand/webpack-dev-server/open-editor) against cross-site request forgery. Requests are now checked withSec-Fetch-Site(falling back to anOrigin/Hostcomparison when it is absent), so a cross-site page can no longer trigger a rebuild or open a file in the editor. Same-origin requests, user-initiated navigations, and non-browser clients (e.g. curl) are unaffected. (by @bjohansebas in #5698)Handle malformed
HostandOriginheader values gracefully when validating requests. (by @bjohansebas in #5699)Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, 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.