[Snyk] Upgrade webpack-dev-server from 4.15.1 to 5.2.2 #42
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.
Snyk has created this PR to upgrade webpack-dev-server from 4.15.1 to 5.2.2.
ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.
The recommended version is 10 versions ahead of your current version.
The recommended version was released a month ago.
Issues fixed by the recommended upgrade:
SNYK-JS-WEBPACKDEVSERVER-10300775
SNYK-JS-CROSSSPAWN-8303230
SNYK-JS-HTTPPROXYMIDDLEWARE-8229906
SNYK-JS-NANOID-8492085
SNYK-JS-PATHTOREGEXP-8482416
SNYK-JS-SERIALIZEJAVASCRIPT-6147607
SNYK-JS-WEBPACKDEVSERVER-10300777
SNYK-JS-COOKIE-8163060
SNYK-JS-HTTPPROXYMIDDLEWARE-9691387
SNYK-JS-HTTPPROXYMIDDLEWARE-9691389
SNYK-JS-BRACEEXPANSION-9789073
Release notes
Package name: webpack-dev-server
-
5.2.2 - 2025-06-03
- "Overlay enabled" false positive (18e72ee)
- do not crush when error is null for runtime errors (#5447) (309991f)
- remove unnecessary header
- respect the
-
5.2.1 - 2025-03-26
- cross-origin requests are not allowed unless allowed by
- requests with an IP addresses in the
- prevent overlay for errors caught by React error boundaries (#5431) (8c1abc9)
- take the first network found instead of the last one, this restores the same behavior as 5.0.4 (#5411) (ffd0b86)
-
5.2.0 - 2024-12-11
- added
- speed up initial client bundling (145b5d0)
-
5.1.0 - 2024-09-03
- add visual progress indicators (a8f40b7)
- added the
- allow the
- http2 support for
- check the
- ipv6 output (#5270) (06005e7)
- replace
- replace default gateway (#5255) (f5f0902)
- support
-
5.0.4 - 2024-03-19
- security: bump webpack-dev-middleware (#5112) (aab576a)
-
5.0.3 - 2024-03-12
- types: proxy (#5101) (6e1aed3)
-
5.0.2 - 2024-02-16
- types (#5057) (da2c24d)
-
5.0.1 - 2024-02-13
- avoid using eval in client (#5045) (7681477)
- overlay and
-
5.0.0 - 2024-02-12
-
4.15.2 - 2024-03-20
- security: bump webpack-dev-middleware (4116209)
-
4.15.1 - 2023-06-09
from webpack-dev-server GitHub release notes5.2.2 (2025-06-03)
Bug Fixes
X_TEST(#5451) (64a6124)allowedHostsoption for cross-origin header check (#5510) (03d1214)5.2.1 (2025-03-26)
Security
Access-Control-Allow-OriginheaderOriginheader are not allowed to connect to WebSocket server unless configured byallowedHostsor it different from theHostheaderThe above changes may make the dev server not work if you relied on such behavior, but unfortunately they carry security risks, so they were considered as fixes.
Bug Fixes
5.2.0 (2024-12-11)
Features
getClientEntryandgetClientHotEntrymethods to get clients entries (dc642a8)Bug Fixes
5.1.0 (2024-09-03)
Features
appoption to beFunction(by default only withconnectcompatibility frameworks) (3096148)serveroption to beFunction(#5275) (02a1c6d)connectandconnectcompatibility frameworks which support HTTP2 (#5267) (6509a3f)Bug Fixes
platformproperty to determinate the target (#5269) (c3b532c)rimrafwithrm(#5162) (1a1561f)devServer: false(#5272) (8b341cb)5.0.4 (2024-03-19)
Bug Fixes
5.0.3 (2024-03-12)
Bug Fixes
5.0.2 (2024-02-16)
Bug Fixes
5.0.1 (2024-02-13)
Bug Fixes
require-trusted-types-for(#5046) (e115436)5.0.0 (2024-02-12)
Migration Guide and Changes.
4.15.2 (2024-03-20)
Bug Fixes
Important
Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information:
Summary by Sourcery
Upgrade webpack-dev-server from v4.15.0 to v5.2.2 to address multiple security vulnerabilities
Bug Fixes:
Chores: