CVE-2021-36020: Magento Commerce - XML External Entity Injection
- Cve: CVE-2021-36020
- Name: Magento Commerce - XML External Entity Injection
- Description: 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 'City' field. An unauthenticated attacker can trigger a specially crafted script to achieve remote code execution.
- Impact: Attackers can execute arbitrary code remotely, potentially leading to full system compromise.
- Remediation: Update to the latest version of Magento Commerce, preferably the latest release available.
- Vulnerability type: xml_external_entity_injection
- Vulnerability impact: remote_code_execution
- Requirement type: none
- Labels source: projectdiscovery
- Severity: critical
- Cvss score: 9.8
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Epss score: 0.02559
- Epss percentile: 0.85486
- Assignee: [email protected]
- Published at: 2021-09-01T15:15:09Z
- Age in days: 1910
- Modified at: 2026-06-17T03:58:13Z
- Patch available: yes
- References total: 1
- Products total: 2
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2021-36020
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-91 | XML Injection |
References
| Url | Source | Tags |
|---|---|---|
| https://helpx.adobe.com/security/products/magento/apsb21-64.html | nvd | Patch, Vendor Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| adobe:magento_open_source | = 2.4.2 p1; >= 2.4.0, <= 2.4.2; >= 2.3.0, <= 2.3.7 | no | nvd | /v1/products/adobe/magento_open_source |
| adobe:adobe_commerce | = 2.4.2 p1; >= 2.4.0, <= 2.4.2; >= 2.3.0, <= 2.3.7 | no | nvd | /v1/products/adobe/adobe_commerce |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| magento/magento2 | package | yes | /v1/repositories/magento/magento2 |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts