All reports
Critical

Magento XPath Injection

Affected versions

Affected versions
>= 2.4.0, < 2.4.1-p1
Fixed version
2.4.1-p1
Affected versions
< 2.3.6-p1
Fixed version
2.3.6-p1
Affected versions
<= 2.0.2
Fixed version
Not reported

Exploitation

CVE-2021-21025

Probability of exploitation in the next 30 days: 3.21%

FIRST EPSS · 2026-11-19

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.

Links