Intel

AIKIDO-2025-10967

webpack is vulnerable to Server-Side Request Forgery (SSRF)

Server-Side Request Forgery (SSRF)CVE-2025-68157 Published Dec 18, 2025

53

Medium Risk

This Affects:

JSwebpack
5.49.0 - 5.103.0
Fixed in 5.104.0
Are you affected? Scan for Free

TL;DR

Affected versions of this package are vulnerable to Server-Side Request Forgery (SSRF) and untrusted content inclusion because the HttpUriPlugin did not properly revalidate HTTP redirect targets against the configured allowedUris policy, allowed non-http/https protocols (like file:), and lacked a redirect limit. An attacker could exploit this by hosting a malicious server that responds with a redirect to an internal service or local file, potentially bypassing URI restrictions and causing the application to fetch and cache sensitive data or execute unintended code from a dangerous location.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Background info

webpack is vulnerable to Server-Side Request Forgery (SSRF) in versions 5.49.0 - 5.103.0.

How to fix this

Upgrade the webpack library to the patch version.

Are You Affected?

Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.

Free. No credit card required.

Aikido Platform