CVE-2021-21025
CRITICAL9.1EPSS 4.7%Magento XPath Injection
Published: 5/24/2022Modified: 2/10/2025
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.
Affected packages (3)
- Bitnami/magentofrom 0, < 2.3.6, >= 2.4.0, < 2.4.1
- Packagist/magento/community-editionfrom 0, < 2.3.6-p1
- Packagist/magento/project-community-editionfrom 0, <= 2.0.2
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | CRITICAL9.1 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H |