VYPR
High severityNVD Advisory· Published Sep 1, 2021· Updated Sep 16, 2024

Magento Commerce Widgets Update Layout XML Injection Vulnerability Could Lead To Remote Code Execution

CVE-2021-36022

Description

Magento Commerce versions 2.4.2 (and earlier), 2.4.2-p1 (and earlier) and 2.3.7 (and earlier) are affected by an XML Injection vulnerability in the Widgets Update Layout. An attacker with admin privileges can trigger a specially crafted script to achieve remote code execution.

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

Magento Commerce versions 2.4.2, 2.4.2-p1, and 2.3.7 are vulnerable to XML Injection in Widgets Update Layout, allowing authenticated admin users to achieve remote code execution.

Vulnerability

Magento Commerce versions 2.4.2, 2.4.2-p1, and 2.3.7 (and earlier) are affected by an XML Injection vulnerability in the Widgets Update Layout. An authenticated admin attacker can inject malicious XML payloads through the widget update mechanism, leading to improper processing of XML input [1].

Exploitation

An attacker with admin privileges can craft a specially formed XML payload and submit it via the Widgets Update Layout feature. The application does not properly sanitize the XML input, allowing the attacker to inject external entities or other XML constructs that result in arbitrary code execution [1].

Impact

Successful exploitation allows the attacker to execute arbitrary code on the Magento server, potentially leading to full compromise of the application and its data. This includes disclosure of sensitive information, modification of data, and disruption of service [1].

Mitigation

Adobe has released security patches to address this vulnerability. Affected users should upgrade to Magento Commerce 2.4.3 or later, or apply the relevant security patches as indicated in Adobe's security bulletin. No workarounds are documented in the available references [1].

AI Insight generated on May 21, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.

Affected packages

Versions sourced from the GitHub Security Advisory.

PackageAffected versionsPatched versions
magento/project-community-editionPackagist
<= 2.0.2
magento/community-editionPackagist
< 2.3.7-p12.3.7-p1
magento/community-editionPackagist
>= 2.4.2-p1, < 2.4.2-p22.4.2-p2

Affected products

4

Patches

0

No patches discovered yet.

Vulnerability mechanics

AI mechanics synthesis has not run for this CVE yet.

References

3

News mentions

0

No linked articles in our index yet.