CVE-2021-28556
Magento Commerce DOM-based cross-site scripting (XSS) could lead to arbitrary javascript execution
6.9
MEDIUM
CVSS 3.1
EPSS 23.9%
Description
Magento versions 2.4.2 (and earlier), 2.4.1 (and earlier) and 2.3.6 (and earlier) are affected by a DOM-based Cross-Site Scripting vulnerability on mage-messages cookies. Successful exploitation could lead to arbitrary JavaScript execution by an unauthenticated attacker. User interaction is required for successful exploitation.
How to fix CVE-2021-28556
To remediate CVE-2021-28556, upgrade the affected package to a fixed version below.
- —upgrade to 2.3.7 or later
- —upgrade to 2.4.2-p1 or later
- —no fix listed
Is CVE-2021-28556 being exploited?
Moderate — EPSS is 23.9%. Track this CVE but it's not at the top of the prioritisation list.
Affected packages (3)
- from 0, < 2.3.7, >= 2.4.0, < 2.4.3
- >= 2.4.0, < 2.4.2-p1
- from 0, <= 2.0.2
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM6.9 | CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:L/A:N |