CVE-2021-21019
PHP vulnerability analysis and mitigation

Overview

Magento versions 2.4.1 (and earlier), 2.4.0-p1 (and earlier) and 2.3.6 (and earlier) were identified with a critical XML injection vulnerability in the Widgets module. The vulnerability, tracked as CVE-2021-21019, was discovered and disclosed in December 2020, with the initial analysis by NIST published on February 16, 2021. The vulnerability affects both Magento Commerce and Open Source editions (NVD, CVE Mitre).

Technical details

The vulnerability is classified as an XML injection vulnerability (CWE-91) that could potentially lead to arbitrary code execution. It received a CVSS v3.1 base score of 9.1 (Critical) with the vector string CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H. The CVSS score indicates that while the vulnerability requires high privileges (authenticated access to the admin console), it has a critical impact on confidentiality, integrity, and availability of the system (NVD).

Impact

Successful exploitation of this vulnerability could lead to arbitrary code execution by an authenticated attacker with access to the admin console. The critical CVSS score of 9.1 indicates severe potential impacts on system confidentiality, integrity, and availability (NVD).

Exploitability

The vulnerability requires authentication and access to the admin console for successful exploitation. While the vulnerability is serious, it has some mitigating factors due to the requirement of administrative access (CVE Mitre).

Mitigation and workarounds

Adobe released security patches to address this vulnerability. The fixed versions include Magento 2.4.2, 2.4.1-p1, and 2.3.6-p1. Given the critical nature of the vulnerability, Adobe recommended administrators install the update as soon as possible (Adobe Advisory).

Additional resources


SourceThis report was generated using AI

Related PHP vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-59989CRITICAL9.2
  • PHP logoPHP
  • phalcon/cphalcon
NoYesAug 21, 2026
CVE-2026-63135HIGH8.2
  • PHP logoPHP
  • yourls/yourls
NoYesAug 21, 2026
GHSA-p2ch-c2c3-4xm5MEDIUM6.1
  • PHP logoPHP
  • winter/wn-backend-module
NoYesAug 20, 2026
GHSA-8hgv-xc77-jmcrMEDIUM5.1
  • PHP logoPHP
  • getgrav/grav
NoYesAug 21, 2026
GHSA-hq84-x37p-j6q5MEDIUM4.5
  • PHP logoPHP
  • winter/wn-backend-module
NoYesAug 20, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management