GHSA-hc6q-2mpp-qw7jCriticalCVSS 9.8
Cross-realm object access in Webpack 5
🔗 CVE IDs covered (1)
📋 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 products1
- npm/webpack:>= 5.0.0, < 5.76.0
🔗 References (7)
- https://nvd.nist.gov/vuln/detail/CVE-2023-28154
- https://github.com/webpack/webpack/pull/16500
- https://github.com/webpack/webpack/compare/v5.75.0...v5.76.0
- https://lists.fedoraproject.org/archives/list/[email protected]/message/AU7BOXTBK3KDYSWH67ASZ22TUIOZ3X5G/
- https://lists.fedoraproject.org/archives/list/[email protected]/message/PPSAXUTXBCCTAHTCX5BUR4YVP25XALQ3/
- https://lists.fedoraproject.org/archives/list/[email protected]/message/U2AFCM6FFE3LRYI6KNEQWKMXMQOBZQ2D/
- https://github.com/advisories/GHSA-hc6q-2mpp-qw7j