XML Injection Affecting magento/community-edition package, versions <2.3.7-p1>=2.4.0, <2.4.2-p2


Severity

Recommended
0.0
critical
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
9.65% (93rd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about XML Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PHP-MAGENTOCOMMUNITYEDITION-13863531
  • published9 Nov 2025
  • disclosed6 Sept 2023
  • creditBlaklis

Introduced: 6 Sep 2023

CVE-2021-36023  (opens in a new tab)
CWE-91  (opens in a new tab)

How to fix?

Upgrade magento/community-edition to version 2.3.7-p1, 2.4.2-p2 or higher.

Overview

magento/community-edition is a modern cloud eCommerce platform.

Affected versions of this package are vulnerable to XML Injection via the widgets update layout. An attacker with administrative privileges can execute arbitrary commands by submitting specially crafted XML data.

CVSS Base Scores

version 4.0
version 3.1