CVE-2021-21025
Critical
Description
Magento versions 2.4.1 (and earlier), 2.4.0-p1 (and earlier) and 2.3.6 (and earlier) are vulnerable to XML injection in the product layout updates. Successful exploitation could lead to arbitrary code execution by an authenticated attacker. Access to the admin console is required for successful exploitation.
SeverityCritical
CVSS9.1
Exploit probability—
Product
Magento
PublishedFeb 11, 2021
First seenFeb 11, 2021
Weakness typeCWE-91CWE-91
How to fix
Update
- magento magento2.3.6 or later
- magento/community-edition2.3.6-p1, 2.4.1-p1 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| magento magento | v < 2.3.6, 2.3.6, 2.4.0, 2.4.1 | 2.3.6 |
| magento/community-editionPackagist | v < 2.3.6-p1, 2.4.0 ≤ v < 2.4.1-p1 | 2.3.6-p1, 2.4.1-p1 |
| 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.