NetSight
critical9.1

CVE-2021-21025

Magento XPath Injection

Impact

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

EcosystemPackageAffectedFixed in
composermagento/community-edition< 2.3.6-p12.3.6-p1
composermagento/project-community-edition<= 2.0.2none recorded

Affected products

VendorProductAffected versions
MagentoMagento
before 2.3.6
Versions 2.3.6, 2.4.0, 2.4.1

Weakness classification

References