GitHub Advisoryadvisory · npm

GHSA-hc6q-2mpp-qw7j Cross-realm object access in Webpack 5

CRITICAL Published 2023-03-13 Modified 2023-10-30 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