Skip to content
OpenAdvisories
Critical · 9.8 CVE-2023-28154 EUVD-2023-1030GHSA-hc6q-2mpp-qw7j

Cross-realm object access in Webpack 5

Published Mar 13, 2023 · Updated Feb 27, 2025 · Assigned by mitre

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 node-webpack 5.76.1+dfsg1+~cs17.16.16-1 —
Debian 13 node-webpack 5.76.1+dfsg1+~cs17.16.16-1 —
Debian 12 node-webpack 5.75.0+dfsg+~cs17.16.14-1+deb12u1 —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 node-webpack No fix yet —
Ubuntu 26.04 LTS node-webpack No fix yet —
Ubuntu 25.10 node-webpack No fix yet —
Ubuntu 24.04 LTS node-webpack No fix yet —
Ubuntu 22.04 LTS node-webpack No fix yet —
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu 20.04 LTS node-webpack No fix yet —
Ubuntu 18.04 LTS node-webpack No fix yet —
ReleasePackageFixed inAdvisory
RHEL 9 pcs +1 0.11.3-4.el9_1.3 RHSA-2023:1591

AlmaLinux

Errata ↗
ReleasePackageFixed inAdvisory
AlmaLinux 9 pcs +1 0.11.3-4.el9_1.3 ALSA-2023:2652, ALSA-2023:1591

Rocky Linux

Errata ↗
ReleasePackageFixed inAdvisory
Rocky Linux 9 pcs 0.11.3-4.el9_1.3 RLSA-2023:1591
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed agama-web-ui 9+52-1.1 openSUSE-SU-2024:14106-1
openSUSE Tumbleweed cockpit-agama 2.1+0-1.1 openSUSE-SU-2024:12979-1
openSUSE Tumbleweed cockpit-d-installer 0.8.1~1-5.1 openSUSE-SU-2024:12803-1

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 9 pcs +1 0.11.3-4.el9_1.3 ELSA-2023-12235

Affected packages

EcosystemPackageAffectedFixedRecord
npm webpack >= 5.0.0, < 5.76.0 5.76.0 GHSA-hc6q-2mpp-qw7j

Advisories 10

References