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.
{
"cna_assigner": "mitre",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/28xxx/CVE-2023-28154.json"
}{
"extracted_events": [
{
"range": [
{
"introduced": "5"
},
{
"fixed": "5.76.0"
}
],
"source": "DESCRIPTION"
},
{
"cpe": "cpe:2.3:a:webpack.js:webpack:*:*:*:*:*:node.js:*:*",
"range": [
{
"introduced": "5.0.0"
},
{
"fixed": "5.76.0"
}
],
"source": "CPE_RANGE"
}
]
}