Cross-realm object access in Webpack 5
Critical severity
GitHub Reviewed
Published
Mar 13, 2023
to the GitHub Advisory Database
•
Updated Oct 30, 2023
Description
Published by the National Vulnerability Database
Mar 13, 2023
Published to the GitHub Advisory Database
Mar 13, 2023
Reviewed
Mar 14, 2023
Last updated
Oct 30, 2023
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.
References