webpack
5.112.2 · 23 Oct 2026MIT76.9M / weekRepositorynpmAtom feed
Upgrading webpack From 5.65.0 to 5.66.0
1 release in betweenevery note read
Security
4 advisories still affect 5.66.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
Add
output.library.type: "commonjs-static"to emit a statically analyse-able commonjs module (for node.js esm interop support) - New
Add
experiments.css(very experimental) - New
Reduce default
watchOptions.aggregateTimeoutto 20ms - Fixed
Fix CORS headers for
experiments.lazyCompilation - Fixed
Fix
[absolute-resource-path]for SourceMap module naming - Fixed
Avoid stack overflow when accessing many memory cached cache values in series
- New
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.