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.
Name | Vendor | Start Version | End Version |
---|---|---|---|
Webpack | Webpack.js | 5.0.0 (including) | 5.76.0 (excluding) |
Red Hat Enterprise Linux 9 | RedHat | pcs-0:0.11.3-4.el9_1.3 | * |
Node-webpack | Ubuntu | bionic | * |
Node-webpack | Ubuntu | kinetic | * |
Node-webpack | Ubuntu | lunar | * |
Node-webpack | Ubuntu | mantic | * |
Node-webpack | Ubuntu | trusty | * |
Node-webpack | Ubuntu | xenial | * |