CVE-2021-21025
PHP vulnerability analysis and mitigation

Overview

Magento versions 2.4.1 (and earlier), 2.4.0-p1 (and earlier) and 2.3.6 (and earlier) were identified with a critical XML injection vulnerability in the product layout updates. The vulnerability, tracked as CVE-2021-21025, was discovered and assigned on December 18, 2020, with public disclosure following in February 2021 (CVE MITRE).

Technical details

The vulnerability is classified as an XML Injection (CWE-91) that affects the product layout update functionality in Magento. The severity of this vulnerability is rated as Critical with a CVSS v3.0 Base Score of 9.1, characterized by the vector string CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H. Additionally, it received a CVSS v2.0 Base Score of 6.5 (Medium) with the vector (AV:N/AC:L/Au:S/C:P/I:P/A:P) (NVD).

Impact

Successful exploitation of this vulnerability could lead to arbitrary code execution on the affected system. The vulnerability affects both Magento Commerce and Open Source editions, potentially compromising the confidentiality, integrity, and availability of the system (NVD).

Mitigation and workarounds

Adobe released security updates to address this vulnerability through their security advisory. Users are advised to update to the latest version of Magento that includes the security fix (Adobe Advisory).

Additional resources


SourceThis report was generated using AI

Related PHP vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

GHSA-9v82-vcjx-m76jHIGH8.8
  • PHPPHP
  • shopware/core
NoYesSep 10, 2025
CVE-2025-56556MEDIUM6.5
  • PHPPHP
  • intelliants/subrion
NoNoSep 11, 2025
CVE-2025-52277MEDIUM6.1
  • PHPPHP
  • yeswiki/yeswiki
NoNoSep 09, 2025
CVE-2025-58759MEDIUM5.1
  • PHPPHP
  • datahihi1/tiny-env
NoYesSep 09, 2025
CVE-2025-58758MEDIUM5.1
  • PHPPHP
  • datahihi1/tiny-env
NoYesSep 09, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management