XML injection in Magento Open Source and Adobe Commerce (formerly Magento Commerce) - CVE-2021-21019
Published: February 10, 2021
Vulnerability identifier: #VU50554
CSH Severity: Medium
CVSS v4: 8.6 [CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2021-21019
CWE-ID: CWE-91
Exploitation vector: Remote access
Exploit availability:
No public exploit available
Vulnerability details
The vulnerability allows a remote user to execute arbitrary code on the target system.
The vulnerability exists due to improper input validation when processing XML data. A remote authenticated administrator can pass specially crafted XML data to the application and perform arbitrary actions on the system.
Affected software
Magento Open Source
Adobe Commerce (formerly Magento Commerce)
Adobe Commerce (formerly Magento Commerce)
How to mitigate CVE-2021-21019
Install updates from vendor's website.
Magento Open Source - addressed in versions 2.3.6-p1, 2.4.1-p1, 2.4.2
Adobe Commerce (formerly Magento Commerce) - addressed in versions 2.3.6-p1, 2.4.1-p1, 2.4.2
Adobe Commerce (formerly Magento Commerce) - addressed in versions 2.3.6-p1, 2.4.1-p1, 2.4.2