{"id":"CVE-2025-68458","published":"2026-02-05T23:08:01Z","modified":"2026-02-06T20:26:59Z","title":"webpack buildHttp: allowedUris allow-list bypass via URL userinfo (@) leading to build-time SSRF behavior","vendor":"webpack","product":"webpack","tier":"tail","description":{"text":"Webpack is a module bundler. From version 5.49.0 to before 5.104.1, when experiments.buildHttp is enabled, webpack’s HTTP(S) resolver (HttpUriPlugin) can be bypassed to fetch resources from hosts outside allowedUris by using crafted URLs that include userinfo (username:password@host). If allowedUris enforcement relies on a raw string prefix check (e.g., uri.startsWith(allowed)), a URL that looks allow-listed can pass validation while the actual network request is sent to a different authority/host after URL parsing. This is a policy/allow-list bypass that enables build-time SSRF behavior (outbound requests from the build machine to internal-only endpoints, depending on network access) and untrusted content inclusion (the fetched response is treated as module source and bundled). This issue has been patched in version 5.104.1.","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-8fgc-7cc6-rx7x","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.1"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-02-06T20:26:49.112788Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"webpack","vulnerableRanges":[">=5.49.0, <5.104.1"],"patched":["5.104.1"],"from":["GHSA-8fgc-7cc6-rx7x"],"provenance":"source"}],"summary":{"text":"The flaw is an allow-list bypass in webpack's HTTP(S) resolver (HttpUriPlugin), used when experiments.buildHttp is enabled, in versions from 5.49.0 before 5.104.1. The allowedUris check relies on a raw string prefix comparison, so URLs containing userinfo (username:password@host) can pass validation while the request is actually sent to a different host, enabling build-time server-side request forgery and inclusion of untrusted content as bundled module source.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:20:29Z"},"euvd":{"id":"EUVD-2025-206877","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},{"cve":"CVE-2025-68157","published":"2026-02-05","fixed":"5.104.0","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"}]}},{"cve":"CVE-2025-68458","published":"2026-02-05","fixed":"5.104.1","kev":false}],"package":"npm:webpack"}}