CVE-2023-28154
Cross-realm object access in Webpack 5
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.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
9.8
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.
- Record
CVE-2023-28154- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
CVE List
9.8
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.
- Record
CVE-2023-28154- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
EUVDEUVD-2023-1030
9.8
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.
- Record
EUVD-2023-1030- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
GitHub AdvisoriesGHSA-hc6q-2mpp-qw7j
9.8
Cross-realm object access in Webpack 5
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.
- Record
GHSA-hc6q-2mpp-qw7j- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSV
9.8
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.
- Record
CVE-2023-28154- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVDEBIAN-CVE-2023-28154
9.8
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.
- Record
DEBIAN-CVE-2023-28154- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
Show 10 moreShow less
OSVGHSA-hc6q-2mpp-qw7j
9.8
Cross-realm object access in Webpack 5
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.
- Record
GHSA-hc6q-2mpp-qw7j- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVRHSA-2023:1591
9.1
Red Hat Security Advisory: pcs security update
- Record
RHSA-2023:1591- CVSS 3.1
- 9.1 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N - Updated
- 2026-11-02
OSVUBUNTU-CVE-2023-28154
9.8
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.
- Record
UBUNTU-CVE-2023-28154- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVALSA-2023:1591 No score
Important: pcs security update
The pcs packages provide a command-line configuration system for the Pacemaker and Corosync utilities.
Security Fix(es):
- webpack: avoid cross-realm objects (CVE-2023-28154)
For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.
- Record
ALSA-2023:1591- Updated
- 2026-11-02
OSVALSA-2023:2652 No score
Important: pcs security and bug fix update
The pcs packages provide a command-line configuration system for the Pacemaker and Corosync utilities.
Security Fix(es):
- pcs: webpack: Regression of CVE-2023-28154 fixes in the AlmaLinux (CVE-2023-2319)
- rubygem-rack: Denial of service in Multipart MIME parsing (CVE-2023-27530)
- rubygem-rack: denial of service in header parsing (CVE-2023-27539)
For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.
Bug Fix(es):
- Command 'pcs config checkpoint diff' does not show configuration differences between checkpoints (BZ#2180697)
- Need a way to add a scsi fencing device to a cluster without requiring a restart of all cluster resources (BZ#2180704)
- [WebUI] fence levels prevent loading of cluster status (BZ#2183180)
- Record
ALSA-2023:2652- Updated
- 2026-11-02
OSVopenSUSE-SU-2024:12803-1 No score
cockpit-d-installer-0.8.1~1-5.1 on GA media
These are all security issues fixed in the cockpit-d-installer-0.8.1~1-5.1 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2024:12803-1- Updated
- 2026-11-02
OSVopenSUSE-SU-2024:12979-1 No score
cockpit-agama-2.1+0-1.1 on GA media
These are all security issues fixed in the cockpit-agama-2.1+0-1.1 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2024:12979-1- Updated
- 2026-11-02
OSVopenSUSE-SU-2024:14106-1 No score
agama-web-ui-9+52-1.1 on GA media
These are all security issues fixed in the agama-web-ui-9+52-1.1 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2024:14106-1- Updated
- 2026-11-02
OSVRLSA-2023:1591 No score
Important: pcs security update
The pcs packages provide a command-line configuration system for the Pacemaker and Corosync utilities.
Security Fix(es):
- webpack: avoid cross-realm objects (CVE-2023-28154)
For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.
- Record
RLSA-2023:1591- Updated
- 2026-11-02
OSVROOT-APP-NPM-CVE-2023-28154 No score
CVE-2023-28154 in webpack - Patched by Root
Root has patched CVE-2023-28154 in the webpack package for Root:npm. Multiple fixed versions available.
- Record
ROOT-APP-NPM-CVE-2023-28154- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
webpacknpm |
5.0.0 up to 5.76.0 | 5.76.0 |
pcsAlmaLinux:9 |
before 0.11.3-4.el9_1.3 | 0.11.3-4.el9_1.3 |
pcs-snmpAlmaLinux:9 |
before 0.11.3-4.el9_1.3 | 0.11.3-4.el9_1.3 |
pcsAlmaLinux:9 From an advisory covering 4 CVEs |
before 0.11.4-7.el9_2 | 0.11.4-7.el9_2 |
pcs-snmpAlmaLinux:9 From an advisory covering 4 CVEs |
before 0.11.4-7.el9_2 | 0.11.4-7.el9_2 |
node-webpackDebian:12 |
before 5.75.0+dfsg+~cs17.16.14-1+deb12u1, plus listed versions 5.75.0+dfsg+~cs17.16.14-1 |
5.75.0+dfsg+~cs17.16.14-1+deb12u1 |
node-webpackDebian:13 |
before 5.76.1+dfsg1+~cs17.16.16-1 | 5.76.1+dfsg1+~cs17.16.16-1 |
node-webpackDebian:14 |
before 5.76.1+dfsg1+~cs17.16.16-1 | 5.76.1+dfsg1+~cs17.16.16-1 |
pcsRed Hat:enterprise_linux:9::highavailability |
before 0:0.11.3-4.el9_1.3 | 0:0.11.3-4.el9_1.3 |
pcs-snmpRed Hat:enterprise_linux:9::highavailability |
before 0:0.11.3-4.el9_1.3 | 0:0.11.3-4.el9_1.3 |
Show 15 moreShow less
| Package | Affected | Fixed |
|---|---|---|
pcsRed Hat:enterprise_linux:9::resilientstorage |
before 0:0.11.3-4.el9_1.3 | 0:0.11.3-4.el9_1.3 |
pcs-snmpRed Hat:enterprise_linux:9::resilientstorage |
before 0:0.11.3-4.el9_1.3 | 0:0.11.3-4.el9_1.3 |
pcsRocky Linux:9 |
before 0:0.11.3-4.el9_1.3 | 0:0.11.3-4.el9_1.3 |
webpackRoot:npm |
before 5.75.0-aikido.1 | 5.75.0-aikido.1 |
@rootio/webpackRoot:npm |
before 5.75.0-root.io.1 | 5.75.0-root.io.1 |
node-webpackUbuntu:18.04:LTS |
All versions, plus listed versions 3.5.6-1build33.5.6-1build43.5.6-2 |
None known |
node-webpackUbuntu:20.04:LTS |
All versions, plus listed versions 4.7.0-34.30.0-74.30.0-9 |
None known |
node-webpackUbuntu:22.04:LTS |
All versions, plus listed versions 4.43.0-6build44.43.0-7 |
None known |
node-webpackUbuntu:24.04:LTS |
All versions, plus listed versions 5.76.1+dfsg1+~cs17.16.16-1 |
None known |
node-webpackUbuntu:25.10 |
All versions, plus listed versions 5.97.1+dfsg1+~cs11.18.27-25.97.1+dfsg1+~cs11.18.27-3 |
None known |
node-webpackUbuntu:26.10 |
All versions, plus listed versions 5.105.4+dfsg1+~cs15.13.23-25.108.0+dfsg1+~cs14.7.20-2 |
None known |
node-webpackUbuntu:26.04:LTS |
All versions, plus listed versions 5.97.1+dfsg1+~cs11.18.27-35.97.1+dfsg1+~cs11.18.27-45.105.4+dfsg1+~cs15.13.23-2 |
None known |
cockpit-d-installeropenSUSE:Tumbleweed |
before 0.8.1~1-5.1 | 0.8.1~1-5.1 |
cockpit-agamaopenSUSE:Tumbleweed |
before 2.1+0-1.1 | 2.1+0-1.1 |
agama-web-uiopenSUSE:Tumbleweed |
before 9+52-1.1 | 9+52-1.1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| first indexed | CVE List, EUVD, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2023-28154 is a critical vulnerability (CVSS 9.8) in Webpack.js Webpack, published March 13, 2023. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.41%, the 72nd percentile. Fixed in webpack 5.76.0.
References
github.com/webpack/webpack/pull/16500
github.com/webpack/webpack/compare/v5.75.0...v5.76.0
lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/PPSAXUTXBCCTAHTCX5BUR4YVP25XALQ3
lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/U2AFCM6FFE3LRYI6KNEQWKMXMQOBZQ2D
lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/AU7BOXTBK3KDYSWH67ASZ22TUIOZ3X5G
nvd.nist.gov/vuln/detail/CVE-2023-28154
Show 25 moreShow less
lists.fedoraproject.org/archives/list/[email protected]/message/AU7BOXTBK3KDYSWH67ASZ22TUIOZ3X5G
lists.fedoraproject.org/archives/list/[email protected]/message/PPSAXUTXBCCTAHTCX5BUR4YVP25XALQ3
lists.fedoraproject.org/archives/list/[email protected]/message/U2AFCM6FFE3LRYI6KNEQWKMXMQOBZQ2D
github.com/advisories/GHSA-hc6q-2mpp-qw7j
access.redhat.com/errata/RHSA-2023:1591
access.redhat.com/security/cve/CVE-2023-28154
bugzilla.redhat.com/2179227
errata.almalinux.org/9/ALSA-2023-1591.html
access.redhat.com/errata/RHSA-2023:2652
access.redhat.com/security/cve/CVE-2023-2319
access.redhat.com/security/cve/CVE-2023-27530
access.redhat.com/security/cve/CVE-2023-27539
bugzilla.redhat.com/2176477
bugzilla.redhat.com/2179649
bugzilla.redhat.com/2190092
errata.almalinux.org/9/ALSA-2023-2652.html
github.com/CVEProject/cvelistV5/tree/main/cves/2023/28xxx/CVE-2023-28154.json
security-tracker.debian.org/tracker/CVE-2023-28154
access.redhat.com/security/updates/classification
bugzilla.redhat.com/show_bug.cgi?id=2179227
security.access.redhat.com/data/csaf/v2/advisories/2023/rhsa-2023_1591.json
cve.org/CVERecord?id=CVE-2023-28154
errata.rockylinux.org/RLSA-2023:1591
ubuntu.com/security/CVE-2023-28154
suse.com/security/cve/CVE-2023-28154