webpack
5.112.2 · 23 Oct 2026MIT76.9M / weekRepositorynpmAtom feed
5.113.0 is the newest release of 5.x.
In short
5 new22 fixed
Security
2 advisories affect 5.96.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
Bug Fixes
Fixed Module Federation should track all referenced chunks
Handle Data URI without base64 word
HotUpdateChunk have correct runtime when modified with new runtime
Order of chunks ids in generated chunk code
No extra Javascript chunks when using asset module as an entrypoint
Use optimistically logic for
output.environment.dynamicImportto determine chunk format when no browserslist or targetCollision with global variables for
optimization.avoidEntryIifeAvoid through variables in inlined module
Allow chunk template strings in
output.devtoolNamespaceNo extra runtime for get javascript/css chunk filename
No extra runtime for prefetch and preload in JS runtime when it was unsed in CSS
Avoid cache invalidation using ProgressPlugin
Increase parallelism when using
importModuleon the execution stageCorrectly parsing string in
exportandimportTypescript types
[CSS]
css/autoconsiders a module depending on its filename ascss(pure CSS) orcss/local, before it wascss/globalandcss/local[CSS] Always interpolate classes even if they are not involved in export
[CSS] No extra runtime in Javascript runtime chunks for asset modules used in CSS
[CSS] No extra runtime in Javascript runtime chunks for external asset modules used in CSS
[CSS] No extra runtime for the
nodetarget[CSS] Fixed
url()s and@importparsing[CSS] Fixed - emit a warning on broken :local and :global
New Features
Export CSS and ESM runtime modules
Single Runtime Chunk and Federation eager module hoisting
[CSS] Support
/* webpackIgnore: true */for CSS files[CSS] Support
src()support[CSS] CSS nesting in CSS modules
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.