Live threats

All CVEs / Webpack.js

CVE-2023-28154Webpack.js Webpack

Critical 9.8 No auth needed

Priority
74
CVSS 3.1
9.8
EPSS
1.6%
probability of exploitation in 30 days · percentile 76
Auth required
No
Published
Mar 13, 2023
Updated
Jun 17, 2026
Category
Application · Cross-platform
SSVC (CISA)
Exploitation: none · Automatable: yes · Technical impact: total
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

What happens

Webpack 5 before 5.76.0 does not avoid cross-realm object access. ImportParserPlugin.js mishandles the magic comment feature. An attacker who controls a property of an untrusted object can obtain access to the real global object.

Original NVD text.

What to do

  1. Apply the vendor's security update for Webpack.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
npm webpack ≥ 5.0.0 < 5.76.0 5.76.0 npm install webpack@5.76.0

Per OSV / GitHub Advisories (GHSA-hc6q-2mpp-qw7j). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
webpack.jswebpack≥ 5.0.0 < 5.76.0

Official sources

References

Links published by the sources. Open them with care.