Live threats

All CVEs / Webpack.js

CVE-2025-68157Webpack.js Webpack

Low 3.7

Priority
22
CVSS 3.1
3.7
EPSS
—
Auth required
Yes
Published
Feb 5, 2026
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-918
SSVC (CISA)
Exploitation: proof of concept · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Webpack.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
npm webpack ≥ 5.49.0 < 5.104.0 5.104.0 npm install webpack@5.104.0

Per OSV / GitHub Advisories (GHSA-38r7-794h-5758). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
webpack.jswebpack≥ 5.49.0 < 5.104.0

Official sources

References

Links published by the sources. Open them with care.