CVE-2025-68458 Details
Description
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.
A policy bypass vulnerability has been identified in Webpack versions 5.49.0 prior to 5.104.1, when the 'experiments.buildHttp' feature is enabled. This vulnerability allows the HTTP(S) resolver, known as 'HttpUriPlugin', to be bypassed, enabling the fetching of resources from hosts outside the specified 'allowedUris'. The bypass is achieved by crafting URLs that include userinfo (username:password@host), which can manipulate the actual request destination after URL parsing. This flaw can lead to build-time Server-Side Request Forgery (SSRF) behavior, where outbound requests from the build machine are sent to internal-only endpoints, depending on network access. Additionally, it allows for the inclusion of untrusted content, as the fetched response is treated as module source and bundled into the final output.
Users can update Webpack to version 5.104.1 or later, where this vulnerability has been patched.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Feb 6, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/webpack/webpack/security/advisories/GHSA-8fgc-7cc6-rx7x | [email protected] | ExploitVendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-918 | Server-Side Request Forgery (SSRF) | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| webpack.js webpack | >= 5.49.0, < 5.104.1 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Feb 13, 2026 | Initial Analysis | [email protected] |
| Feb 5, 2026 | New CVE Received | [email protected] |