GHSA-hc6q-2mpp-qw7j

Suggest an improvement
Source
https://github.com/advisories/GHSA-hc6q-2mpp-qw7j
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/03/GHSA-hc6q-2mpp-qw7j/GHSA-hc6q-2mpp-qw7j.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-hc6q-2mpp-qw7j
Aliases
Published
2023-03-13T03:30:15Z
Modified
2023-11-08T04:12:09.414542Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
Cross-realm object access in Webpack 5
Details

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.

Database specific
{
    "nvd_published_at": "2023-03-13T01:15:00Z",
    "cwe_ids": [],
    "severity": "CRITICAL",
    "github_reviewed": true,
    "github_reviewed_at": "2023-03-14T15:03:08Z"
}
References

Affected packages

npm / webpack

Package

Affected ranges

Type
SEMVER
Events
Introduced
5.0.0
Fixed
5.76.0