cve.bz

CVE-2025-68157 webpack.js webpack: SSRF

3.7 lowExploit referenceEPSS 0.2%Fix available

Low (3.7) in webpack.js webpack. EPSS 0.2% estimated probability of exploitation activity in the next 30 days. Fixed in webpack 5.104.0.

On this page
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.

Severity

CVSS 3.1

3.7 low
CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:N
EPSS
0.2% (unchanged from 0.2% a week ago; 0.2% 30 days ago) estimated probability of exploitation activity in the next 30 days; 14th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: no · Technical impact: partial, assessed 2026-02-06. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-918 Server-Side Request Forgery (SSRF)
OWASP Top 10
A01:2025 Broken Access Control
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2025-68157 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-68157?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-68157?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2025-68157 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
webpack.js:webpackfrom 5.49.0 before 5.104.0

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-38r7-794h-5758npmwebpack>=5.49.0 <5.104.05.104.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13node-webpackno fix listedDEBIAN-CVE-2025-68157
Debian14node-webpack5.105.4+dfsg1+~cs15.13.23-2DEBIAN-CVE-2025-68157
Ubuntu18.04:LTS, 20.04:LTS, 22.04:LTS and 4 morenode-webpackno fix listedUBUNTU-CVE-2025-68157

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu.

Red Hat

Red Hat rates this Low.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

ProductPackageStateAdvisory
Red Hat Openshift Data Foundation 4.16odf4/cephcsi-rhel9:1791969746Fixed 2026-10-15RHSA-2026:83619
Red Hat Openshift Data Foundation 4.16odf4/mcg-core-rhel9:1791967127Fixed 2026-10-15RHSA-2026:83619
Red Hat Openshift Data Foundation 4.16odf4/mcg-rhel9-operator:1791970996Fixed 2026-10-15RHSA-2026:83619
Red Hat Openshift Data Foundation 4.16odf4/ocs-client-console-rhel9:1791969367Fixed 2026-10-15RHSA-2026:83619
Red Hat Openshift Data Foundation 4.16odf4/ocs-client-rhel9-operator:1791965646Fixed 2026-10-15RHSA-2026:83619
Red Hat Openshift Data Foundation 4.16odf4/ocs-metrics-exporter-rhel9:1791970025Fixed 2026-10-15RHSA-2026:83619
Red Hat Openshift Data Foundation 4.16odf4/ocs-rhel9-operator:1791968560Fixed 2026-10-15RHSA-2026:83619
Red Hat Openshift Data Foundation 4.16odf4/odf-cli-rhel9:1791966130Fixed 2026-10-15RHSA-2026:83619
Red Hat Openshift Data Foundation 4.16odf4/odf-console-rhel9:1791966989Fixed 2026-10-15RHSA-2026:83619
Red Hat Openshift Data Foundation 4.16odf4/odf-cosi-sidecar-rhel9:1791967977Fixed 2026-10-15RHSA-2026:83619
Cryostat 4io.cryostat-cryostatFix deferred
Gatekeeper 3gatekeeper/gatekeeper-rhel9Fix deferred
Logging Subsystem for Red Hat OpenShiftopenshift-logging/elasticsearch6-rhel9Fix deferred
Logging Subsystem for Red Hat OpenShiftopenshift-logging/elasticsearch-operator-bundleFix deferred
Logging Subsystem for Red Hat OpenShiftopenshift-logging/elasticsearch-proxy-rhel9Fix deferred
Logging Subsystem for Red Hat OpenShiftopenshift-logging/elasticsearch-rhel9-operatorFix deferred
Logging Subsystem for Red Hat OpenShiftopenshift-logging/kibana6-rhel8Fix deferred
Logging Subsystem for Red Hat OpenShiftopenshift-logging/logging-curator5-rhel9Fix deferred
Logging Subsystem for Red Hat OpenShiftopenshift-logging/logging-view-plugin-rhel9Fix deferred
Network Observability Operatornetwork-observability/network-observability-console-plugin-compat-rhel9Fix deferred
173 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2025-68157.

Attack patterns (CAPEC)

  • CAPEC-664 Server Side Request Forgery Likelihood: High · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON