Free and open · new CVEs checked every 20 minutesStatusRSSOpen dataContact

CVE-2025-68157: Webpack is a module bundler

21
Routine
LOW 3.7UPGRADE

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 score3.7 (Low)
Attack vectorNetwork (remote)
Attack complexityHigh
Privileges neededLow
User interactionRequired
EPSS exploit chance0.2% (top 86%)
CISA exploited listNo
WeaknessCWE-918
Published2026-02-05
Last modified2026-06-17
Publisher (CNA): GitHub, Inc. · Vendor: webpack.js

Share: LinkedIn · X · Reddit

Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score

Am I affected?

Timeline

webpack.js webpack UPGRADE
Affected: >= 5.49.0 and < 5.104.0
Fixed in: 5.104.0
Safe to downgrade to: a release before 5.49.0
1. Check installed version
npm ls webpack
2. UPGRADE to 5.104.0
npm install webpack@">=5.104.0"
3. If no update is available yet, DOWNGRADE to a release before 5.49.0
npm view webpack versions npm install webpack@"<5.49.0"
Downgrade risk
Downgrading can break dependent software and may reopen older bugs. Read the distro advisory first and test on a non-production host.
After downgrade
Restart the service, and keep the package held until a fixed release ships.
Verify at the official source NVD · CVE Program · Report a problem with this page
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

Webpack vulnerabilities

Related CVEs

References

← Back to latest CVEs

Get the weekly exploited-CVE digest by emailThe CVEs being attacked this week and how to fix them. No spam, unsubscribe any time.