webpack
5.112.2 · 23 Oct 2026MIT76.9M / weekRepositorynpmAtom feed
5.113.0 is the newest release of 5.x.
In short
1 removed8 new13 fixed3 changed
- Removed
Remove travis configuration
Security
4 advisories affect 5.67.0; 5.104.1 fixes them
- CriticalCross-realm object access in Webpack 5GHSA-hc6q-2mpp-qw7j · 13 Mar 2023Fixed in 5.76.0
- ModerateWebpack's AutoPublicPathRuntimeModule has a DOM Clobbering Gadget that leads to XSSGHSA-4vvj-4cpr-p986 · 27 Aug 2024Fixed in 5.94.0
- 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
Features
Add 'outputPath' configuration option for resource asset modules
Support Trusted Types in eval source maps
experiments.css: allow to generate only exports for css in node
experiments.css: add
SyncModuleIdsPluginto sync module ids between server and client compilationexperiments.css: add more options to the
DeterministicModuleIdsPluginto allow to generate equal ids
Developer Experience
Limit data url module name in stats printer
Allow specific description for CLI options
Improve space limiting algorithm in stats printing to show partial lists
Add
nullto errors in callbacksFix call signature types of addChunkInGroup
Bugfixes
Avoid reporting non-existant package.jsons as dependencies
experiments.css: fix missing css runtime when only initial css is used
experiments.css: fix css hmr support
experiments.css: bugfixes to css modules
Fix cache serialization for CreateScriptUrlDependency
Fix data url content when processed by a loader
Fix regexp in identifiers that include
|Fix ProfilingPlugin for watch scenarios
Add layer to module names and identifiers
this avoid random module id changes when additional modules are added to another layer
Provide hashFunction parameter to DependencyTemplates to allow customizing it there
Fix HMR when experiments.lazyCompilation is enabled
Store url as Buffer to avoid serialization warnings
Exclude
webpack-hot-middleware/clientfrom lazy compilation
Contributing
- Removed
Remove travis configuration
Improve spell checking
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.