Vulnerabilities/

Cross-realm object access in Webpack 5

Severity:
High

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:

References

Related Issues

Tags:
npm
webpack
Anything's wrong? Let us know Last updated on October 30, 2023

This issue is available in SmartScanner Professional

See Pricing