CVE-2023-28154 is a critical vulnerability in Webpack 5, specifically versions prior to 5.76.0, where the ImportParserPlugin.js component fails to properly handle magic comments, leading to cross-realm object access. This allows an attacker to gain access to the real global object by controlling a property of an untrusted object. With a CVSS score of 9.8 (Critical), this vulnerability has a network attack vector, low attack complexity, and can result in high impacts to confidentiality, integrity, and availability. While there is no known active exploitation, public exploit code, or Metasploit/Nuclei modules, the vulnerability has garnered significant community discussion with 10 mentions, indicating awareness and potential for future exploitation.
| Vendor | Product | Version(s) | CPE |
|---|---|---|---|
>= 5.0.0, < 5.76.0CPE matchmatch criteria | cpe:2.3:a:webpack.js:webpack:*:*:*:*:*:node.js:*:* |
CVSS version used by this source: 3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
The average CVE in this peer group has 0.0 Twitter, 0.1 Reddit, 0.3 Bluesky, 0.3 Mastodon, and 2.4 GitHub mentions.
No media coverage found for this CVE.
The average CVE in this peer group has 0.3 InfoSec Media, 0.0 Vendor Blog, and 0.0 Security Researcher mentions.
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.
Mar 14, 2023Cross-realm object access in Webpack 5
Mar 13, 2023webpack: avoid cross-realm objects
Mar 13, 2023