webpack
5.112.2 · 23 Oct 2026MIT76.9M / weekRepositorynpmAtom feed
5.113.0 is the newest release of 5.x.
In short
3 new5 fixed7 changed11 internal
Security
3 advisories affect 5.82.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
Add URL dependencies support to consume shared module via module federation
Allow webpack-cli to be in ESM
Allow specifying "onPolicyCreationFailure" mode for trusted types
Bug Fixes
Respect
media/supports/layerfrom parent CSS module
Add warning & support for any @import rules must precede all other rules
Support handling
#hashURL as external (similar to Parcel)
Optimize numberHash.js performance by removing inner loops
Improve template string comparison algorithm
Developer Experience
Increase type coverage and documentation for
StringXorclass.Increase type coverage & docs for
numberHashIncrease type coverage & docs for
JavascriptParserIncrease type coverage & docs for
BasicEvaluatedExpressionIncrease type coverage for CSS module type
Increase type coverage for JSON module type
Increase type coverage & docs for multiple utility classes
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.