Skip to main content
VulnerabilityPublished Updated

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

Affects webpackSource GCVE Database

0
Compare

Not known to be exploited · CVSS 3.7 Low : upgrade to 5.104.0 when convenient.

Data as of 30 Nov 2026, 18:36 UTC

CVSS 3.1 base score
3.7Low
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.2% chance of exploitation in 30 days – higher than 10% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 5.104.0
CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 13 Aug 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 1 Dec 2026.

What to do

Upgrade webpack to 5.104.0.

Affected software

ProductAffectedFixed in
Homebrewwebpackpkg:brew/webpackOther threatsAffected
  • >=5.49.0 <5.104.0
Fixed in
  • 5.104.0
npmwebpackpkg:npm/webpackOther threatsAffected
  • >=5.49.0 <5.104.0
Fixed in
  • 5.104.0

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

Upgrade webpack to version 5.104.0 or later, where this vulnerability is patched. The patch ensures that allowedUris are re-validated after HTTP redirects, preventing bypass. No other mitigations are specifically required.

Description

Webpack versions from 5.49.0 up to but not including 5.104.0 have a vulnerability in the HttpUriPlugin when experiments.buildHttp is enabled. The plugin enforces allowedUris only on the initial URL but fails to re-validate after HTTP redirects, allowing bypass of the allow-list. This can lead to build-time SSRF and inclusion of untrusted content in build outputs. The issue is fixed in version 5.104.0.

References

Community reviews

Loading reviews…