Skip to content
OpenAdvisories

Description

Webpack is a module bundler. From version 5.49.0 to before 5.104.0, when experiments.buildHttp is enabled, webpack’s HTTP(S) resolver (HttpUriPlugin) enforces allowedUris only for the initial URL, but does not re-validate allowedUris after following HTTP 30x redirects. As a result, an import that appears restricted to a trusted allow-list can be redirected to HTTP(S) URLs outside the allow-list. This is a policy/allow-list bypass that enables build-time SSRF behavior (requests from the build machine to internal-only endpoints, depending on network access) and untrusted content inclusion in build outputs (redirected content is treated as module source and bundled). This issue has been patched in version 5.104.0.

Affected products

VendorProductAffectedFixed
webpack webpack >= 5.49.0, < 5.104.0 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 node-webpack 5.105.4+dfsg1+~cs15.13.23-2 —
Debian 13 node-webpack No fix yet —
Debian 12 node-webpack No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 node-webpack No fix yet —
Ubuntu 26.04 LTS node-webpack No fix yet —
Ubuntu 25.10 node-webpack No fix yet —
Ubuntu 24.04 LTS node-webpack No fix yet —
Ubuntu 22.04 LTS node-webpack No fix yet —
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu 20.04 LTS node-webpack No fix yet —
Ubuntu 18.04 LTS node-webpack No fix yet —

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling katib-earlystopping +8 0.19.0-r31 —
Wolfi rolling katib-suggestion-goptuna-compat 0.19.0-r40 —
Wolfi rolling langfuse-3 +1 3.155.1-r2 —

Affected packages

EcosystemPackageAffectedFixedRecord
npm webpack >= 5.49.0, < 5.104.0 5.104.0 GHSA-38r7-794h-5758

References