# CVE-2021-36020: Magento Commerce XML Injection Vulnerability In The 'City' Field Could Lead To Remote Code Execution

- Severity: High 8.2 (CVSS:3.1, scored by adobe) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 2.56%, higher than 85% of CVEs (2026-12-01)
- Published: 2021-09-01T14:30:56.497Z
- Modified: 2026-06-17T03:58:13.310Z
- Also known as: GHSA-xvpx-6hh8-7h72
- Weaknesses: CWE-91
- Assigned by: adobe

## 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.

(As written by CVE List.)

## Affected

- Adobe Magento Commerce: from unspecified up to 2.4.2; from unspecified up to 2.4.2-p1; from unspecified up to 2.3.7; from unspecified up to None
- magento/project-community-edition (Packagist): up to 2.0.2
- magento/community-edition (Packagist): before 2.3.7-p1; 2.3.7; from 2.4.2-p1 before 2.4.2-p2; 2.4.2
- adobe adobe_commerce: from 2.3.0 up to 2.3.7; from 2.4.0 up to 2.4.2; 2.4.2
- adobe magento_open_source: from 2.3.0 up to 2.3.7; from 2.4.0 up to 2.4.2; 2.4.2

## Every score

- adobe: CVSS:3.1 8.2 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N`
- GitHub: rating High
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 7.5 High `AV:N/AC:L/Au:N/C:P/I:P/A:P`

## References

- <https://helpx.adobe.com/security/products/magento/apsb21-64.html> (patch, vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-36020> (advisory)
- <https://github.com/magento/magento2> (package)

## Sources

- CVE List: [CVE-2021-36020](https://www.cve.org/CVERecord?id=CVE-2021-36020), CVE Terms of Use, modified 2024-09-16
- GitHub Advisory Database: [GHSA-xvpx-6hh8-7h72](https://github.com/advisories/GHSA-xvpx-6hh8-7h72), CC-BY-4.0, modified 2025-11-07
- NVD: [CVE-2021-36020](https://nvd.nist.gov/vuln/detail/CVE-2021-36020), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-36020 · Whole record: https://cve.day/CVE-2021-36020.json · Rebuilt by cve.day 2026-11-25T22:58:03.596Z
