CVE-2021-21019: Magento Commerce XML Injection Could Lead To Remote Code Execution

Published Feb 11, 2021
·
Updated

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.

Affected Software

12 affected componentsFixes available
composer/magento/community-edition>=2.4.0<2.4.1-p1
2.4.1-p1
composer/magento/community-edition<2.3.6-p1
2.3.6-p1
Magento Magento<2.3.6
Magento Magento<2.3.6
Magento Magento=2.3.6
Magento Magento=2.3.6
Magento Magento=2.4.0
Magento Magento=2.4.0
Magento Magento=2.4.0-p1
Magento Magento=2.4.0-p1
Magento Magento=2.4.1
Magento Magento=2.4.1

Event History

Feb 11, 2021
CVE Published
via MITRE·07:29 PM
Data Sourced
via MITRE·07:29 PM
DescriptionSeverityWeakness
May 24, 2022
Advisory Published
via GitHub·05:41 PM

Frequently Asked Questions

1

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.

2

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.

3

What is the impact of CVE-2021-21019?

Successful exploitation of CVE-2021-21019 could lead to arbitrary code execution by an authenticated attacker.

4

What is required for successful exploitation of CVE-2021-21019?

Successful exploitation of CVE-2021-21019 requires access to the admin console.

5

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.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203