Quick answers
- Is CVE-2023-28154 exploited in the wild?
- No. Junglewise Threat Intelligence has no report of CVE-2023-28154 being exploited in the wild.
- How severe is CVE-2023-28154?
- Low severity, with a CVSS score of 3.1, published 13 March 2023.
- Which products and versions are affected?
- webpack (npm) SEMVER:introduced=5.0.0,fixed=5.76.0.
- Is there a fix for CVE-2023-28154?
- Yes. webpack (npm): upgrade to 5.76.0 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
- How is CVE-2023-28154 attacked?
- It is attacked over the network.
- Am I affected by CVE-2023-28154?
- Check whether you run webpack (npm) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.
How to fix
- webpack (npm): upgrade to 5.76.0 or later
npm install webpack@5.76.0
Technical details
Webpack 5 before version 5.76.0 improperly handles cross-realm object access in the ImportParserPlugin.js component, specifically in the magic comment feature processing. The vulnerability allows an attacker who controls an untrusted object property to gain access to the real global object, breaking JavaScript realm isolation. This is a sandbox escape that occurs at build time. The attack requires the ability to influence build inputs but does not require authentication or user interaction. The fix was implemented in Webpack 5.76.0 and later versions.
Affected products
- webpack webpack 5.0.0 before 5.76.0
Identifiers
- CVE-2023-28154
- GHSA-hc6q-2mpp-qw7j
Timeline
- 2023-03-13: disclosed
- 2023-03-13: patched: Fixed in version 5.76.0