CVE-2025-68157: Webpack is a module bundler
CVE-2025-68157 is a low-severity flaw (CVSS 3.7) affecting webpack. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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 bui
Why this priority
- Public exploit reference
A fixed release or distro patch exists.
Risk facts
| CVSS score | 3.7 (Low) |
| Attack vector | Network (remote) |
| Attack complexity | High |
| Privileges needed | Low |
| User interaction | Required |
| EPSS exploit chance | 0.2% (top 86%) |
| CISA exploited list | No |
| Weakness | CWE-918 |
| Published | 2026-02-05 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2025-68157?
webpack: upgrade to 5.104.0. Exact commands for each OS are on this page.
Is CVE-2025-68157 being exploited?
CVE-2025-68157 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2025-68157 affect?
CVE-2025-68157 affects webpack. Severity is low (CVSS 3.7). 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
How urgent is CVE-2025-68157?
Priority 21/100. Public exploit reference
Software pages
Related CVEs
- CVE-2025-68458 LOW 3.7 UPGRADE Webpack is a module bundler
- CVE-2024-43788 MEDIUM 6.4 UPGRADE Webpack is a module bundler