webpack
5.112.2 · 23 Oct 2026MIT76.9M / weekRepositorynpmAtom feed
5.113.0 is the newest release of 5.x.
In short
3 new3 faster5 fixed
Security
2 advisories affect 5.101.0; 5.104.1 fixes them
- Lowwebpack buildHttp: allowedUris allow-list bypass via URL userinfo (@) leading to build-time SSRF behaviorGHSA-8fgc-7cc6-rx7x · 5 Feb 2026Fixed in 5.104.1
- Lowwebpack buildHttp HttpUriPlugin allowedUris bypass via HTTP redirects → SSRF + cache persistenceGHSA-38r7-794h-5758 · 5 Feb 2026Fixed in 5.104.0
Release note
Fixes
Fixed concatenate optimization for ESM that caused undefined export
Respect the
output.environment.nodePrefixForCoreModulesoption everywhereRespect the
output.importMetaNameoption everywhereFixed await async dependencies when accepting them during HMR
Better typescript types
Features
Added colors helpers for CLI
Enable tree-shaking for ESM external modules with named imports
Added the
deferImportoption to parser options
Performance Improvements
Fixed a regression in module concatenation after implementing deferred import support
Fixed a potential performance issue in CleanPlugin
Avoid extra
requirein some places
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.