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.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 20.04 LTS | node-webpack | No fix yet | — |
| Ubuntu 18.04 LTS | node-webpack | No fix yet | — |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 9 | pcs +1 | 0.11.3-4.el9_1.3 | RHSA-2023:1591 |
AlmaLinux
Errata ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux 9 | pcs +1 | 0.11.3-4.el9_1.3 | ALSA-2023:2652, ALSA-2023:1591 |
Rocky Linux
Errata ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Rocky Linux 9 | pcs | 0.11.3-4.el9_1.3 | RLSA-2023:1591 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Oracle Linux 9 | pcs +1 | 0.11.3-4.el9_1.3 | ELSA-2023-12235 |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| npm | webpack | >= 5.0.0, < 5.76.0 | 5.76.0 | GHSA-hc6q-2mpp-qw7j |
Advisories 10
- ALSA-2023:2652 Important: pcs security and bug fix update AlmaLinux Security Advisories · Oct 29, 2026
- ALSA-2023:1591 Important: pcs security update AlmaLinux Security Advisories · Oct 29, 2026
- RHSA-2023:1591 Red Hat Security Advisory: pcs security update Red Hat Security Advisories (RHSA) · Oct 9, 2026
- RLSA-2023:1591 Important: pcs security update Rocky Linux Security Advisories · Feb 4, 2026
- openSUSE-SU-2024:12803-1 cockpit-d-installer-0.8.1~1-5.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:12979-1 cockpit-agama-2.1+0-1.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:14106-1 agama-web-ui-9+52-1.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- WID-SEC-2024-0528 Dell Data Protection Advisor: Mehrere Schwachstellen BSI CERT-Bund (WID) · Feb 29, 2024
- WID-SEC-2023-0855 Red Hat Enterprise Linux (pcs): Schwachstelle ermöglicht Umgehen von Sicherheitsvorkehrungen BSI CERT-Bund (WID) · May 9, 2023
- ELSA-2023-12235 Important: pcs security update (Oracle Linux 9) Oracle Linux Security Advisories (ELSA) · Apr 5, 2023
References
- https://github.com/webpack/webpack/pull/16500
- https://github.com/webpack/webpack/compare/v5.75.0...v5.76.0
- FEDORA-2023-4d546e6b4b vendor-advisory
- FEDORA-2023-cb2e422088 vendor-advisory
- FEDORA-2023-5993ffa09a vendor-advisory