webpack
5.112.2 · 23 Oct 2026MIT76.9M / weekRepositorynpmAtom feed
5.113.0 is the newest release of 5.x.
In short
10 new1 faster11 fixed
Security
2 advisories affect 5.97.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
Don't crash with filesystem cache and unknown scheme
Generate a valid code when
output.iifeistrueand output.library.type isumdFixed conflict variable name with concatenate modules and runtime code
Merge duplicate chunks before
Collisions in ESM library
Use recursive search for versions of shared dependencies
[WASM] Don't crash WebAssembly with Reference Types (sync and async)
[WASM] Fixed wasm loading for sync and async webassembly
[CSS] Don't add
[uniqueName]tolocalIdentNamewhen it is empty[CSS] Parsing strings on Windows
[CSS] Fixed CSS local escaping
New Features
Added support for injecting debug IDs
Export the
MergeDuplicateChunkspluginAdded universal loading for JS chunks and JS worker chunks (only ES modules)
[WASM] Added universal loading for WebAssembly chunks (only for async WebAssembly)
[CSS] Allow initial CSS chunks to be placed anywhere - the
output.cssHeadDataCompressionoption was deleted[CSS] Added universal loading for CSS chunks
[CSS] Parse ICSS
@valueat-rules in CSS modules[CSS] Parse ICSS
:importrules in CSS modules[CSS] Added the
urlandimportoptions for CSS[CSS] Allow to import custom properties in CSS modules
Performance
Faster Queue implementation, also fixed queue iterator state in dequeue method to ensure correct behavior after item removal
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.