CVE-2021-36023: Magento XML Injection vulnerability in the Widgets Update Layout

Published Sep 6, 2023
·
Updated

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.

Other sources

Magento XML Injection vulnerability in the Widgets Update Layout

— Packagist

Affected Software

20 affected componentsFixes available
Magento Magento<2.3.7
Magento Magento<2.3.7
Magento Magento>=2.4.0<2.4.2
Magento Magento>=2.4.0<2.4.2
Magento Magento=2.3.7
Magento Magento=2.3.7
Magento Magento=2.4.2
Magento Magento=2.4.2
Magento Magento=2.4.2-p1
Magento Magento=2.4.2-p1
composer/magento/project-community-edition<=2.0.2
composer/magento/community-edition=2.4.2
composer/magento/community-edition>=2.4.2-p1, <2.4.2-p2
2.4.2-p2
composer/magento/community-edition=2.3.7
composer/magento/community-edition<2.3.7-p1
2.3.7-p1
composer/magento/community-edition=2.4.2
composer/magento/community-edition>=2.4.2-p1<2.4.2-p2
2.4.2-p2
composer/magento/community-edition=2.3.7
composer/magento/community-edition<2.3.7-p1
2.3.7-p1
composer/magento/project-community-edition<=2.0.2

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade composer/magento/community-edition to a version that resolves this vulnerability.

    Fixed in 2.4.2-p2
  2. Upgrade

    Upgrade composer/magento/community-edition to a version that resolves this vulnerability.

    Fixed in 2.3.7-p1

Event History

Sep 6, 2023
CVE Published
via MITRE·01:08 PM
Data Sourced
via MITRE·01:08 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·02:15 PM
DescriptionSeverityWeaknessAffected Software
Advisory Published
via GitHub·03:30 PM
Data Sourced
via GitHub·03:30 PM
DescriptionSeverityWeaknessAffected Software
Data Sourced
via Packagist·03:30 PM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

What is CVE-2021-36023?

CVE-2021-36023 is a vulnerability in Magento Commerce versions 2.4.2 (and earlier), 2.4.2-p1 (and earlier), and 2.3.7 (and earlier) that allows an attacker with admin privileges to achieve remote code execution.

2

How does CVE-2021-36023 affect Magento Commerce?

CVE-2021-36023 affects Magento Commerce versions 2.4.2 (and earlier), 2.4.2-p1 (and earlier), and 2.3.7 (and earlier) by enabling an XML Injection vulnerability in the Widgets Update Layout.

3

What is the severity of CVE-2021-36023?

CVE-2021-36023 has a severity rating of critical with a score of 7.2.

4

How can an attacker exploit CVE-2021-36023?

An attacker with admin privileges can trigger a specially crafted script to exploit the XML Injection vulnerability and achieve remote code execution.

5

Is there a fix for CVE-2021-36023?

Yes, upgrading to Magento Commerce versions 2.4.3, 2.4.2-p1, or 2.3.8-p1 addresses the vulnerability.

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