CVE-2023-28154: Webpack.js Webpack

Critical severity, CVSS 9.8. EPSS: 1.4% chance of exploitation in the next 30 days.

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.

Affected products

  • Webpack.js Webpack: from 5.0.0, before 5.76.0 (fixed in 5.76.0)

Published 2023-03-13. Last modified 2026-06-17.