Webpack is a module bundler. From version 5.49.0 to before 5.104.0, when experiments.buildHttp is enabled,…
Historical advisory recorded 25 Oct 2026 04:17:10 UTC. Read the latest advisory.
nvd · CVE-2025-68157
PublishedWebpack 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.
Read the publisher's advisoryAffected versions, risk and source history
nvd · CVE-2025-68157
PublishedNVD analysis and CPE criteria are source context, not proof that a package or your environment is affected. Complete affected data, logical configurations and SSVC are retained in the original JSON.
Source analysis status: Analyzed
Weakness classifications: CWE-918
Original publisher date fields
published: 2026-02-05T23:15:53.777
lastModified: 2026-06-17T09:58:39.183
1 source CPE criteria · context only
- cpe:2.3:a:webpack.js:webpack:*:*:*:*:*:node.js:*:*
The original JSON retains the logical configuration operators, exclusions and version bounds.
No normalized affected-package data is projected for this source revision. The original publisher record may contain additional product and version evidence; this does not establish that a package is unaffected.
Original source record · Cite this exact observation · Complete original publisher JSON