webpack
5.112.2 · 23 Oct 2026MIT76.9M / weekRepositorynpmAtom feed
5.113.0 is the newest release of 5.x.
In short
5 new6 fixed1 changed9 internal
Security
3 advisories affect 5.80.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
New Features
Support destructuring assignment in
import.metaSupport treeshaking for destructuring assignment with
AwaitExpressionIntroduce
errorsSpace,warningsSpacefor more readable traces in stats
Bug Fixes
Fix runtime generation bug for merged CSS Chunks
Properly handle
url()/src()/image-set()/image()
ES Module webpack loaders are now supported @stefanprobst
Fix spelling error for
statement.finalizerin parserFix non-deterministic
moduleIdassignment due to encounteringNaNin sort functionenhanced-resolve: Support wildcards pattern with common suffix in package maps & imports/exports field
Developer Experience
Adds the twitter badge
Add
wasm-bindgenexample toexampleUpdate grammar mistakes in examples
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.