Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2025-68157— webpack buildHttp HttpUriPlugin allowedUris bypass via HTTP redirects

Quick assessment

Affected
webpack webpack
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Webpack是Webpack开源的一个模块打包器。它的主要目的是捆绑 JavaScript 文件以便在浏览器中使用,但它也能够转换、捆绑或打包几乎任何资源或资产。 Webpack 5.49.0至5.104.0之前版本存在代码问题漏洞,该漏洞源于当启用experiments.buildHttp时,HTTP(S)解析器在遵循HTTP 30x重定向后未重新验证allowedUris,可能导致策略或允许列表绕过,从而在构建时引发服务端请求伪造行为。

CVSS 3.7 · Low EPSS 0.21% · P10
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2025-68157

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
webpack buildHttp HttpUriPlugin allowedUris bypass via HTTP redirects
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:N
Source: CVE Program / CVE List V5
Vulnerability Type
服务端请求伪造(SSRF)
Source: CVE Program / CVE List V5
Vulnerability Title
Webpack 代码问题漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Webpack是Webpack开源的一个模块打包器。它的主要目的是捆绑 JavaScript 文件以便在浏览器中使用,但它也能够转换、捆绑或打包几乎任何资源或资产。 Webpack 5.49.0至5.104.0之前版本存在代码问题漏洞,该漏洞源于当启用experiments.buildHttp时,HTTP(S)解析器在遵循HTTP 30x重定向后未重新验证allowedUris,可能导致策略或允许列表绕过,从而在构建时引发服务端请求伪造行为。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
webpack webpack >= 5.49.0, < 5.104.0 -

II. Public POCs for CVE-2025-68157

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2025-68157

请登录查看更多情报信息。

IV. Related Vulnerabilities

V. Comments for CVE-2025-68157

No comments yet


Leave a comment