Server-side Request Forgery (SSRF) Affecting webpack package, versions >=5.49.0 <5.104.0


Severity

Recommended
0.0
low
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.01% (1st percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Server-side Request Forgery (SSRF) vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JS-WEBPACK-15235969
  • published6 Feb 2026
  • disclosed5 Feb 2026
  • creditHanJeouk

Introduced: 5 Feb 2026

NewCVE-2025-68157  (opens in a new tab)
CWE-918  (opens in a new tab)

How to fix?

Upgrade webpack to version 5.104.0 or higher.

Overview

Affected versions of this package are vulnerable to Server-side Request Forgery (SSRF) via the HttpUriPlugin component when HTTP redirects are followed without re-validating the allowed URIs. An attacker can cause unauthorized network requests to internal services and inclusion of untrusted content in build outputs by manipulating import URLs to trigger redirects outside the intended allow-list.

Note:

This is only exploitable if experiments.buildHttp is enabled.

References

CVSS Base Scores

version 4.0
version 3.1