webpack buildHttp HttpUriPlugin allowedUris bypass via HTTP redirects
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| webpack | webpack | affected |
|
No data.
| Vendor | Product | Versions |
|---|---|---|
| Webpack | Webpack | — |
| Source | ID | Title |
|---|---|---|
Github GHSA |
GHSA-38r7-794h-5758 | webpack buildHttp HttpUriPlugin allowedUris bypass via HTTP redirects → SSRF + cache persistence |
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.230% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Webpack.js
Webpack.js webpack |
|
| CPEs | cpe:2.3:a:webpack.js:webpack:*:*:*:*:*:node.js:*:* | |
| Vendors & Products |
Webpack.js
Webpack.js webpack |
| Type | Values Removed | Values Added |
|---|---|---|
| References |
| |
| Metrics |
threat_severity
|
threat_severity
|
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Webpack
Webpack webpack |
|
| Vendors & Products |
Webpack
Webpack webpack |
| Type | Values Removed | Values Added |
|---|---|---|
| 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. | |
| Title | webpack buildHttp HttpUriPlugin allowedUris bypass via HTTP redirects | |
| Weaknesses | CWE-918 | |
| References |
| |
| Metrics |
cvssV3_1
|