Vulnerabilities/

webpack buildHttp: allowedUris allow-list bypass via URL userinfo (@) leading to build-time SSRF behavior

Severity:
Low

Description

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.

Recommendation

Update the webpack package to the latest compatible version. Followings are version details:

References

Related Issues

Tags:
npm
webpack
Anything's wrong? Let us know Last updated on February 06, 2026