webpack
5.112.2 · 23 Oct 2026MIT76.9M / weekRepositorynpmAtom feed
5.113.0 is the newest release of 5.x.
In short
3 new2 faster14 fixed1 internal
Security
2 advisories affect 5.99.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
Fixes
Fixed a lot of types
Fixed runtime error when using asset module as entrypoint and runtimeChunk
JSON generator now preserves
__proto__propertyFixed when entry module isn't executed when targeting webworker with a runtime chunk
Do not duplicate modules with import attributes and reexport
The
moduleandmoduleESM libraries have been union and code generation has been improvedUse a valid output path for errored asset modules
Remove BOM from JavaScript and CSS files when loader was not used
Create export for externals for module/modern-module library
Export unprovided variables for
commonjs-staticlibraryForward semicolons from
meta.webpackASTUse
xxhash64forcache.hashAlgorithmwhenexperiments.futureDefaultsenabledFixed profiling plugin for CSS
Avoid extra module.export output for CSS module
Features
Add dead control flow check
Handle
new Worker(import.meta.url)andnew Worker(new URL(import.meta.url))syntaxAdded ability to generate custom error content for generators
Performance Improvements
Fixed excessive calls of getAllReferences
Optimize loc for monomorphic inline caching
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.