Sandbox Bypass Affecting webpack package, versions >=5.0.0-alpha.0 <5.76.0


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of concept
EPSS
0.31% (71st percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-JS-WEBPACK-3358798
  • published13 Mar 2023
  • disclosed13 Mar 2023
  • creditJack-Works

Introduced: 13 Mar 2023

CVE-2023-28154  (opens in a new tab)
CWE-265  (opens in a new tab)

How to fix?

Upgrade webpack to version 5.76.0 or higher.

Overview

Affected versions of this package are vulnerable to Sandbox Bypass when ImportParserPlugin.js mishandles magic comments to allow cross-realm object access. An attacker who controls a property of an untrusted object can access the real global object.

CVSS Scores

version 3.1