CVE-2025-68157CWE-918

webpack buildHttp HttpUriPlugin allowedUris bypass via HTTP redirects

Low · published February 5, 2026

CVSS v3.1
3.7
EPSS
0%
Percentile
13.4
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
3.7 · LOW
Vector
CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:N
CVSS v4.0
Not supplied
EPSS
0.00233 · 13.4th percentile
Weakness
CWE-918 · Server-Side Request Forgery (SSRF)
Published
2026-02-05T23:08Z
EPSS history
Timeline
  • 05 FEB 23:08Z
    webpack buildHttp HttpUriPlugin allowedUris bypass via HTTP redirects
    cvelistv5