CVE-2021-36023: Magento Commerce versions 2.4.2 (and earlier), 2.4.2-p1 (and earlier) and 2.3.7 (and earlier) are affected by
CVE-2021-36023 is a critical-severity flaw (CVSS 9.1) affecting magento. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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.
Why this priority
- Critical severity
A fixed release or distro patch exists.
Risk facts
| CVSS score | 9.1 (Critical) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | High |
| User interaction | None |
| EPSS exploit chance | 2.4% (top 16%) |
| CISA exploited list | No |
| Weakness | CWE-78 |
| Published | 2023-09-06 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2021-36023?
magento: upgrade to 2.3.7, 2.4.2. Exact commands for each OS are on this page.
Is CVE-2021-36023 being exploited?
CVE-2021-36023 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2021-36023 affect?
CVE-2021-36023 affects magento. Severity is critical (CVSS 9.1). 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 scr
How urgent is CVE-2021-36023?
Priority 53/100. Critical severity
Software pages
Related CVEs
- CVE-2026-48356 CRITICAL 9.3 EXPLOITED DOWNGRADE DOWNGRADE Adobe Commerce and Magento Unrestricted Upload of File with Dangerous Type Vulnerability
- CVE-2026-40488 HIGH 8.8 UPGRADE Magento Long Term Support (LTS) is an unofficial, community-driven project provides an alternative to the Mage
- CVE-2026-40098 MEDIUM 5.4 UPGRADE Magento Long Term Support (LTS) is an unofficial, community-driven project provides an alternative to the Mage
- CVE-2026-25524 HIGH 8.1 UPGRADE Magento Long Term Support (LTS) is an unofficial, community-driven project provides an alternative to the Mage
- CVE-2026-25525 MEDIUM 4.9 UPGRADE Magento Long Term Support (LTS) is an unofficial, community-driven project provides an alternative to the Mage