webpack
5.112.2 · 23 Oct 2026MIT76.9M / weekRepositorynpmAtom feed
5.113.0 is the newest release of 5.x.
In short
7 new10 fixed
Security
3 advisories affect 5.91.0; 5.104.1 fixes them
- 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
Bug Fixes
Deserializer for ignored modules doesn't crash
Allow the
unsafeCacheoption to be a proxy objectNormalize the
snapshot.unmanagedPathsoptionFixed
fstypesFixed resolve's plugins types
Fixed wrongly calculate postOrderIndex
Fixed watching types
Output import attrbiutes/import assertions for external JS imports
Throw an error when DllPlugin needs to generate multiple manifest files, but the path is the same
Output
layer/supports/mediafor external CSS imports
New Features
Allow to customize the stage of BannerPlugin
Support CSS exports convention
Support CSS local ident name
Support
__webpack_nonce__for CSS chunksSupport
fetchPriorityfor CSS chunksAllow to use LZW to compress css head meta (enabled in the
productionmode by default)Support prefetch/preload for CSS chunks
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.