Vulnerability library
Security checkFebruary 06, 2026

webpack buildHttp HttpUriPlugin allowedUris bypass via HTTP redirects → SSRF + cache persistence

Understand the exposure, see the recommended fix, and check whether your own website has related weaknesses.

Low severitynpmwebpack

Check your website

Find this and other vulnerabilities with a free scan.

Your scan runs on your computer. No account required.

Description

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.

Recommendation

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

  • Affected version(s): >= 5.49.0, < 5.104.0
  • Patched version(s): 5.104.0

References

Could your website be exposed too?

SmartScanner can check your website for webpack buildHttp HttpUriPlugin allowedUris bypass via HTTP redirects → SSRF + cache persistence and gives you actionable findings to investigate.

Start a free scan

Related Issues

See something that needs correcting? Let us knowUpdated February 06, 2026