{"cve":"CVE-2025-68157","nvd":{"published":"2026-02-05T23:15:53.777","modified":"2026-06-17T09:58:39.183","status":"Analyzed","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:N","score":3.7},"cwes":["CWE-918"],"references":["https://github.com/webpack/webpack/security/advisories/GHSA-38r7-794h-5758"],"products":["webpack.js:webpack"],"source":"nvd","synced_at":"2026-10-19T22:22:27.261130201+00:00"},"epss":{"cve":"CVE-2025-68157","score":0.00233,"percentile":0.14247,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-38r7-794h-5758","url":"https://osv.dev/vulnerability/GHSA-38r7-794h-5758","summary":"webpack buildHttp HttpUriPlugin allowedUris bypass via HTTP redirects → SSRF + cache persistence","modified":"2026-09-10T03:50:33.757470252Z","packages":[{"ecosystem":"npm","name":"webpack","purl":"pkg:npm/webpack","ranges":[">=5.49.0 <5.104.0"],"fixed":["5.104.0"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}