CVE-2021-28556
Medium
Description
Magento versions 2.4.2 (and earlier), 2.4.1-p1 (and earlier) and 2.3.6-p1 (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.
SeverityMedium
CVSS6.9
Exploit probability—
Product
Magento
PublishedJun 28, 2021
First seenJun 28, 2021
Weakness typeCWE-79Cross-site scripting (XSS)
How to fix
Update
- magento magento2.3.7 or later
- magento/community-edition2.4.2-p1, 2.3.7 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| magento magento | v < 2.3.7, 2.4.0 ≤ v ≤ 2.4.2 | 2.3.7 |
| magento/community-editionPackagist | 2.4.0 ≤ v < 2.4.2-p1, v < 2.3.7 | 2.4.2-p1, 2.3.7 |
| magento/project-community-editionPackagist | v ≤ 2.0.2 | — |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
In the Intelligence 360 plan
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.