# CVE-2023-28154: Cross-realm object access in Webpack 5

- Severity: Critical 9.8 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.41%, higher than 73% of CVEs (2026-12-01)
- Published: 2023-03-13T00:00:00.000Z
- Modified: 2026-06-17T05:46:58.980Z
- Also known as: GHSA-hc6q-2mpp-qw7j
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- 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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- webpack (npm): from 5.0.0 before 5.76.0
- webpack.js webpack: from 5.0.0 before 5.76.0

## Every score

- CISA-ADP: 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`
- GitHub: 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`
- NVD: 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`

## References

- <https://github.com/webpack/webpack/pull/16500> (patch, web)
- <https://github.com/webpack/webpack/compare/v5.75.0...v5.76.0> (patch, product, web)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/PPSAXUTXBCCTAHTCX5BUR4YVP25XALQ3/> (vendor-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/U2AFCM6FFE3LRYI6KNEQWKMXMQOBZQ2D/> (vendor-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/AU7BOXTBK3KDYSWH67ASZ22TUIOZ3X5G/> (vendor-advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2023-28154> (advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/AU7BOXTBK3KDYSWH67ASZ22TUIOZ3X5G> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/PPSAXUTXBCCTAHTCX5BUR4YVP25XALQ3> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/U2AFCM6FFE3LRYI6KNEQWKMXMQOBZQ2D> (web)

## Sources

- CVE List: [CVE-2023-28154](https://www.cve.org/CVERecord?id=CVE-2023-28154), CVE Terms of Use, modified 2025-02-27
- GitHub Advisory Database: [GHSA-hc6q-2mpp-qw7j](https://github.com/advisories/GHSA-hc6q-2mpp-qw7j), CC-BY-4.0, modified 2023-11-08
- NVD: [CVE-2023-28154](https://nvd.nist.gov/vuln/detail/CVE-2023-28154), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-28154 · Whole record: https://cve.day/CVE-2023-28154.json · Rebuilt by cve.day 2026-11-25T22:58:22.386Z
