Vulnerabilities / CVE-2023-28154

critical

CVE-2023-28154

webpack: avoid cross-realm objects

Published Modified
In the Trivy database since at least 24 Oct 2026, 07:11 UTCWhen it arrived before that build is not recorded.

Severity by source

NVD9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
GHSA9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Red Hat9.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

Trivy's own label is CRITICAL. Rated critical by NVD, GHSA. Rated lower by Red Hat (high), AlmaLinux (high), Oracle (high).

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.

Affected packages and fixed versions

SourcePackageFixed in
npm::GitHub Security Advisory npmwebpack5.76.0
alma 9pcs, pcs-snmp0.11.3-4.el9_1.3
debian 11node-webpack4.43.0-6+deb11u1
debian 12node-webpack5.75.0+dfsg+~cs17.16.14-1+deb12u1
debian 13node-webpack5.76.1+dfsg1+~cs17.16.16-1
debian 14node-webpack5.76.1+dfsg1+~cs17.16.16-1
echonode-webpack5.75.0+dfsg+~cs17.16.14-1+deb12u1
Oracle Linux 9pcs, pcs-snmp0.11.3-4.el9_1.3
Show all 10 entries from 8 sources
SourcePackageFixed in
npm::GitHub Security Advisory npmwebpack5.76.0
alma 9pcs0.11.3-4.el9_1.3
alma 9pcs-snmp0.11.3-4.el9_1.3
debian 11node-webpack4.43.0-6+deb11u1
debian 12node-webpack5.75.0+dfsg+~cs17.16.14-1+deb12u1
debian 13node-webpack5.76.1+dfsg1+~cs17.16.16-1
debian 14node-webpack5.76.1+dfsg1+~cs17.16.16-1
echonode-webpack5.75.0+dfsg+~cs17.16.14-1+deb12u1
Oracle Linux 9pcs0.11.3-4.el9_1.3
Oracle Linux 9pcs-snmp0.11.3-4.el9_1.3

References

All 17 references

Vulnerability data compiled from the Trivy vulnerability database (trivy-db, Aqua Security, Apache License 2.0), which aggregates third-party advisories. CVE records are published by The MITRE Corporation under the CVE Terms of Use; CVE is a trademark of MITRE. This product uses data from the NVD API but is not endorsed or certified by the NVD. Severity, titles and advisory data from the GitHub Advisory Database (CC BY 4.0), Red Hat security data (CC BY 4.0) and the other sources linked on each entry. Entries may be summarised or re-formatted; the linked original is the authoritative record.