webpack
5.112.2 · 23 Oct 2026MIT76.9M / weekRepositorynpmAtom feed
5.113.0 is the newest release of 5.x.
In short
2 new1 faster8 fixed
Security
2 advisories affect 5.95.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
Fixed hanging when attempting to read a symlink-like file that it can't read
Handle
defaultfor import context element dependencyMerge duplicate chunks call after split chunks
Generate correctly code for dynamically importing the same file twice and destructuring
Use content hash as [base] and [name] for extracted DataURI's
Distinguish
moduleandimportinmodule-importfor externalsimport'sMake
EnvironmentPlugindefault values types less strictTypescript 5.6 compatibility
New Features
Add new
optimization.avoidEntryIifeoption (trueby default for theproductionmode)Pass output.hash* options to loader context
Performance
Avoid unneeded re-visit in build chunk graph
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.