Security mailing lists by PureSourceCode

CVE-2023-28154

CRITICAL 9.8CVSS 3.1

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.

Published
13 Mar 2023
Last modified
17 Jun 2026
Assigned by
cve@mitre.org
NVD status
Modified
Also known as
GHSA-hc6q-2mpp-qw7j
Sources
NVDJSONOSV GHSA-hc6q-2mpp-qw7jJSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 CRITICAL 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) CVSS 3.1 CRITICAL 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
OSV GitHub CVSS 3.1 CRITICAL 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD webpack.js webpack
cpe:2.3:a:webpack.js:webpack:*:*:*:*:*:node.js:*:*
>= 5.0.0, < 5.76.0 5.76.0
OSV npm webpack >= 5.0.0, < 5.76.0 5.76.0

References

History

  • 25 Nov 2026 20:35 UTC · NVD: first stored (published 13 Mar 2023)
  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 13 Mar 2023)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.