webpack
5.112.2 · 23 Oct 2026MIT76.9M / weekRepositorynpmAtom feed
5.113.0 is the newest release of 5.x.
In short
2 faster3 fixed2 changed
Security
3 advisories affect 5.76.2; 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
Bugfixes
Fix bug where a missing semicolon in generated bundle output for
publicPathRuntimewould cause concatenated runtime errorsRemove redundant semicolons generated in bundle runtime code after
onScriptCompletefunctionFix bug where
RealContentHashPluginwas not respectingoutput.hashSalt's ability to cause a force recalculation of[contenthash]for emitted assets
Performance
Improve memory and runtime performance of sourcemaps via hoisting Regular Expression literals to stored variables
Correct v8 deoptimization in
ModuleGraphdue to instance property declarations occurring outside of constructor
Developer Experience
Improved internal typings to match
webpack-sourcestypings forSourceinstancesUpdate repo examples to include missing quotation
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.