GitHub Advisoryadvisory · npm
GHSA-hc6q-2mpp-qw7j Cross-realm object access in Webpack 5
CRITICAL
Official page ↗
- Aliases
- CVE-2023-28154
- Ecosystem
- npm
- Packages
- webpack
- Severity
- Critical
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Reviewed
- 2023-03-14
Affected packages
• npm webpack: >= 5.0.0, < 5.76.0 → fixed in 5.76.0
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.
Related
Alias · CVE (1)
- CVE-2023-28154 Webpack 5 before 5.76.0 does not avoid cross-realm object access. vulnerability
References
- https://nvd.nist.gov/vuln/detail/CVE-2023-28154 advisory
- https://github.com/webpack/webpack/pull/16500 web
- https://github.com/webpack/webpack/compare/v5.75.0...v5.76.0 web
- https://lists.fedoraproject.org/archives/list/[email protected]/message/AU7BOXTBK3KDYSWH67ASZ22TUIOZ3X5G web
- https://lists.fedoraproject.org/archives/list/[email protected]/message/PPSAXUTXBCCTAHTCX5BUR4YVP25XALQ3 web
- https://lists.fedoraproject.org/archives/list/[email protected]/message/U2AFCM6FFE3LRYI6KNEQWKMXMQOBZQ2D web