CVE-2021-21019: Magento XML injection in the Widgets module
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 Widgets module. Successful exploitation could lead to arbitrary code execution by an authenticated attacker. Access to the admin console is required for successful exploitation.
Other sources
Magento XML injection in the Widgets module
— Packagist
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
composer/magento/community-editionto a version that resolves this vulnerability.Fixed in 2.4.1-p1 - Upgrade
Upgrade
composer/magento/community-editionto a version that resolves this vulnerability.Fixed in 2.3.6-p1
Event History
Frequently Asked Questions
What is the vulnerability rating of CVE-2021-21019?
The vulnerability rating of CVE-2021-21019 is critical with a severity value of 9.1.
Which versions of Magento are affected by CVE-2021-21019?
Magento versions 2.4.1 (and earlier), 2.4.0-p1 (and earlier), and 2.3.6 (and earlier) are affected by CVE-2021-21019.
What is the impact of CVE-2021-21019?
Successful exploitation of CVE-2021-21019 could lead to arbitrary code execution by an authenticated attacker.
What is required for successful exploitation of CVE-2021-21019?
Successful exploitation of CVE-2021-21019 requires access to the admin console.
How can I fix CVE-2021-21019?
To fix CVE-2021-21019, it is recommended to apply the security patch provided by Magento. Please refer to the official Magento website for specific instructions.