{"id":"CVE-2025-68157","published":"2026-02-05T23:08:13Z","modified":"2026-02-06T19:29:14Z","title":"webpack buildHttp HttpUriPlugin allowedUris bypass via HTTP redirects","vendor":"webpack","product":"webpack","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":3.7,"severity":"LOW","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0023,"percentile":0.14048,"provenance":"source"},"cwes":[{"id":"CWE-918","name":"Server-Side Request Forgery"}],"references":[{"url":"https://github.com/webpack/webpack/security/advisories/GHSA-38r7-794h-5758","tags":["x_refsource_CONFIRM"]}],"priority":{"score":5.4,"factors":[{"name":"EPSS percentile","points":2.81},{"name":"CVSS severity","points":2.59}]},"vendorSlug":"webpack","affectedVersions":[{"vendor":"webpack","product":"webpack","versions":[">= 5.49.0, < 5.104.0"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-02-06T19:29:04.786500Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"webpack","vulnerableRanges":[">=5.49.0, <5.104.0"],"patched":["5.104.0"],"from":["GHSA-38r7-794h-5758"],"provenance":"source"}],"euvd":{"id":"EUVD-2025-206880","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-webpack-cve-2025-68157","packageHistory":[{"cve":"CVE-2023-28154","published":"2023-03-13","fixed":"5.76.0","kev":false},{"cve":"CVE-2024-43788","published":"2024-08-27","fixed":"5.94.0","kev":false,"link":{"from":"CVE-2024-43788","to":"CVE-2025-68157","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:webpack","fromFixed":"5.94.0","toFixed":"5.104.0","daysApart":527}]}},{"cve":"CVE-2025-68157","published":"2026-02-05","fixed":"5.104.0","kev":false},{"cve":"CVE-2025-68458","published":"2026-02-05","fixed":"5.104.1","kev":false,"link":{"from":"CVE-2025-68157","to":"CVE-2025-68458","relation":"successor","confidence":"medium","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"npm:webpack","fromFixed":"5.104.0","toFixed":"5.104.1","daysApart":0},{"kind":"similar","provenance":"machine","score":0.72,"basis":"same product + CWE + description similarity"}]}}],"package":"npm:webpack"}}