CVE-2023-28154

webpack: avoid cross-realm objects

Published Mar 13, 2023 CVSS 3.1 · 9.8 Critical EPSS 1.4% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2023-1030 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.
Github GHSA Github GHSA GHSA-hc6q-2mpp-qw7j Cross-realm object access in Webpack 5
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Feb 27, 2025, 7:54 PM
Reserved
Mar 13, 2023, 12:00 AM
Status
Modified
Published
Mar 13, 2023, 1:15 AM
Modified
Jun 17, 2026, 5:46 AM
Severity
Important
Public date
Mar 13, 2023, 12:00 AM