ADVISORIES

GitHub Advisory Database

GHSA-h437-qjj9-vmq4

Magento XPath Injection

Details

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

EcosystemPackageAffected versions
Packagistmagento/community-edition
All versions before 2.3.6-p1 (fixed in 2.3.6-p1)
Packagistmagento/community-edition
From 2.4.0 before 2.4.1-p1 (fixed in 2.4.1-p1)
Packagistmagento/project-community-edition
All versions up to and including 2.0.2

References