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.
Recommendation
Update the webpack package to the latest compatible version. Followings are version details:
- Affected version(s): >= 5.0.0, < 5.76.0
- Patched version(s): 5.76.0
References
Related Issues
- TinyMCE Cross-Site Scripting (XSS) vulnerability in handling external SVG files through Object or Embed elements - CVE-2024-29881
- Vega has Cross-site Scripting vulnerability in `lassoAppend` function - CVE-2023-26487
- Joplin Cross-site Scripting vulnerability - joplin - CVE-2023-37298
- TinyMCE vulnerable to mutation Cross-site Scripting via special characters in unescaped text nodes - CVE-2023-48219
You might also like:
- Tags:
- npm
- webpack
Anything's wrong? Let us know Last updated on October 30, 2023


