What’s Vulnerable › Vulnerabilities

CVE-2023-28154

Description

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

How to fix

Upgrade to a fixed version: webpack 5.76.0. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2023-28154 or the next vulnerability affects your stack