CVE-2025-68458
CVE-2025-68458 · webpack buildHttp: allowedUris allow-list bypass via URL userinfo (@) leading to build-time SSRF behavior
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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.
CVSS 3.7 · Low · EPSS 0.2% · Fix available
- Published
- Updated
Affected products and versions
webpack
- Versions
- >= 5.49.0, < 5.104.1: Affected
No fix published
node-webpack Debian:12
- Versions
- 5.105.4+dfsg1+~cs15.13.23-1
- 5.105.4+dfsg1+~cs15.13.23-2
- 5.105.4+dfsg1+~cs15.13.23-3
- 5.106.2+dfsg1+~cs15.15.23-1
- 5.106.2+dfsg1+~cs15.15.23-2
- 5.106.2+dfsg1+~cs15.15.23-3
- 5.107.2+dfsg1+~cs15.16.25-1
- 5.107.2+dfsg1+~cs15.16.25-1.1
- 5.107.2+dfsg1+~cs15.16.25-2
- 5.108.0+dfsg1+~cs14.7.20-1
- 5.108.0+dfsg1+~cs14.7.20-2
- 5.108.0+dfsg1+~cs14.7.20-3
- 5.75.0+dfsg+~cs17.16.14-1
- 5.75.0+dfsg+~cs17.16.14-1+deb12u1
- 5.76.1+dfsg1+~cs17.16.16-1
- 5.76.1+dfsg2+~cs10.8.15-2
- 5.76.1+dfsg2+~cs10.8.15-3
- 5.94.0+dfsg1+~cs11.18.26-1
- 5.94.0+dfsg1+~cs11.18.26-2
- 5.95.0+dfsg1+~cs11.18.26-1
- 5.96.1+dfsg1+~cs11.18.26-1
- 5.97.1+dfsg1+~cs11.18.27-1
- 5.97.1+dfsg1+~cs11.18.27-2
- 5.97.1+dfsg1+~cs11.18.27-3
- 5.97.1+dfsg1+~cs11.18.27-4
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
node-webpack Debian:13
- Versions
- 5.105.4+dfsg1+~cs15.13.23-1
- 5.105.4+dfsg1+~cs15.13.23-2
- 5.105.4+dfsg1+~cs15.13.23-3
- 5.106.2+dfsg1+~cs15.15.23-1
- 5.106.2+dfsg1+~cs15.15.23-2
- 5.106.2+dfsg1+~cs15.15.23-3
- 5.107.2+dfsg1+~cs15.16.25-1
- 5.107.2+dfsg1+~cs15.16.25-1.1
- 5.107.2+dfsg1+~cs15.16.25-2
- 5.108.0+dfsg1+~cs14.7.20-1
- 5.108.0+dfsg1+~cs14.7.20-2
- 5.108.0+dfsg1+~cs14.7.20-3
- 5.97.1+dfsg1+~cs11.18.27-3
- 5.97.1+dfsg1+~cs11.18.27-4
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
node-webpack Debian:14
- Versions
- 5.105.4+dfsg1+~cs15.13.23-1
- 5.97.1+dfsg1+~cs11.18.27-3
- 5.97.1+dfsg1+~cs11.18.27-4
- Affected ranges
- ECOSYSTEM: < 5.105.4+dfsg1+~cs15.13.23-2
Update to 5.105.4+dfsg1+~cs15.13.23-2
webpack npm
- Affected ranges
- SEMVER: ≥ 5.49.0, < 5.104.1
Update to 5.104.1
node-webpack Ubuntu:18.04:LTS
- Versions
- 3.5.6-1build3
- 3.5.6-1build4
- 3.5.6-2
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
node-webpack Ubuntu:20.04:LTS
- Versions
- 4.7.0-3
- 4.30.0-7
- 4.30.0-9
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
node-webpack Ubuntu:22.04:LTS
- Versions
- 4.43.0-6build4
- 4.43.0-7
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
node-webpack Ubuntu:24.04:LTS
- Versions
- 5.76.1+dfsg1+~cs17.16.16-1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
node-webpack Ubuntu:25.10
- Versions
- 5.97.1+dfsg1+~cs11.18.27-2
- 5.97.1+dfsg1+~cs11.18.27-3
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
node-webpack Ubuntu:26.10
- Versions
- 5.105.4+dfsg1+~cs15.13.23-2
- 5.108.0+dfsg1+~cs14.7.20-2
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
node-webpack Ubuntu:26.04:LTS
- Versions
- 5.97.1+dfsg1+~cs11.18.27-3
- 5.97.1+dfsg1+~cs11.18.27-4
- 5.105.4+dfsg1+~cs15.13.23-2
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published