All vulnerabilities

Servers and applications

CVE-2021-21025

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.

Severity
Critical 9.1
Published
11 Feb 2021
Last changed
17 Jun 2026
Added to UpHeron
21 Oct 2026
Fixed in
2.3.6
Sources
NVD

Affected software

SoftwareAffected versions
Magento / Adobe CommerceServers and applications · cpe:a:magento:magento
  • Every version before 2.3.6
  • Version 2.3.6
  • Version 2.4.0
  • Version 2.4.0-p1
  • Version 2.4.1

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2021-21025
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2021-21025