webpack
5.112.2 · 23 Oct 2026MIT76.9M / weekRepositorynpmAtom feed
Upgrading webpack From 5.64.4 to 5.65.0
1 release in betweenevery note read
Security
4 advisories still affect 5.65.0
- webpack buildHttp HttpUriPlugin allowedUris bypass via HTTP redirects → SSRF + cache persistencelow · GHSA-38r7-794h-5758
- Webpack's AutoPublicPathRuntimeModule has a DOM Clobbering Gadget that leads to XSSmoderate · GHSA-4vvj-4cpr-p986
- webpack buildHttp: allowedUris allow-list bypass via URL userinfo (@) leading to build-time SSRF behaviorlow · GHSA-8fgc-7cc6-rx7x
- Cross-realm object access in Webpack 5critical · GHSA-hc6q-2mpp-qw7j
Upgrading to 5.104.1 clears them.
Release by release
- New
Static evaluation understands
undefinednow - New
Reduce container entry code by a few chars
- New
Use template literals when available and they make sense
- New
Improve RegExp in error message formating for non-quadratic performance
- New
Expose types for
Resolver,StatsOptionsandResolvePluginInstance - Fixed
Handle
singletonflag withoutrequiredVersionin Module Federation - Fixed
Upgrade
watchpackfor context time info bugfix
- New
3 other lines we could not sort, mostly version bumps
- 5.65.0
Automatically insert brackets when
output.globalObjectcontains a non-trival expression - 5.65.0
Show error when using
scripttype external with invalid syntax - 5.65.0
hashDigestLengthwill default to 16 in webpack 6 (experiments.futureDefaults)
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.