{"id":"CVE-2021-36020","aliases":["CVE-2021-36020","GHSA-xvpx-6hh8-7h72"],"related":[],"kind":"vulnerability","state":"published","title":"Magento Commerce XML Injection Vulnerability In The 'City' Field Could Lead To Remote Code Execution","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"Magento Commerce versiones 2.4.2 (y anteriores), versiones 2.4.2-p1 (y anteriores), y versiones 2.3.7 (y anteriores), están afectadas por una vulnerabilidad de inyección XML en el campo \"City\". Un atacante no autenticado puede desencadenar un script especialmente diseñado para lograr una ejecución de código remota","source":"nvd"}],"published":"2021-09-01T14:30:56.497Z","modified":"2026-06-17T03:58:13.310Z","severity":{"scorer":"adobe","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N","score":8.2,"rating":"HIGH"},"severities":[{"scorer":"adobe","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N","score":8.2,"rating":"HIGH"},{"scorer":"GitHub","scheme":"rating","rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","score":7.5,"rating":"HIGH"}],"cwes":["CWE-91"],"affected":[{"ranges":[{"type":"custom","introduced":"unspecified","lastAffected":"2.4.2","status":"affected"},{"type":"custom","introduced":"unspecified","lastAffected":"2.4.2-p1","status":"affected"},{"type":"custom","introduced":"unspecified","lastAffected":"2.3.7","status":"affected"},{"type":"custom","introduced":"unspecified","lastAffected":"None","status":"affected"}],"vendor":"Adobe","product":"Magento Commerce","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","lastAffected":"2.0.2"}],"ecosystem":"Packagist","package":"magento/project-community-edition","purl":"pkg:composer/magento/project-community-edition","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"2.3.7-p1"}],"ecosystem":"Packagist","package":"magento/community-edition","purl":"pkg:composer/magento/community-edition","source":"ghsa"},{"ranges":[{"version":"2.3.7","status":"affected"}],"ecosystem":"Packagist","package":"magento/community-edition","purl":"pkg:composer/magento/community-edition","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"2.4.2-p1","status":"affected","fixed":"2.4.2-p2"}],"ecosystem":"Packagist","package":"magento/community-edition","purl":"pkg:composer/magento/community-edition","source":"ghsa"},{"ranges":[{"version":"2.4.2","status":"affected"}],"ecosystem":"Packagist","package":"magento/community-edition","purl":"pkg:composer/magento/community-edition","source":"ghsa"},{"ranges":[{"status":"affected","introduced":"2.3.0","lastAffected":"2.3.7"},{"status":"affected","introduced":"2.4.0","lastAffected":"2.4.2"},{"status":"affected","version":"2.4.2"}],"vendor":"adobe","product":"adobe_commerce","cpe":"cpe:2.3:a:adobe:adobe_commerce:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","introduced":"2.3.0","lastAffected":"2.3.7"},{"status":"affected","introduced":"2.4.0","lastAffected":"2.4.2"},{"status":"affected","version":"2.4.2"}],"vendor":"adobe","product":"magento_open_source","cpe":"cpe:2.3:a:adobe:magento_open_source:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://helpx.adobe.com/security/products/magento/apsb21-64.html","tags":["patch","vendor-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-36020","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/magento/magento2","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"adobe","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-36020","url":"https://www.cve.org/CVERecord?id=CVE-2021-36020","licence":"CVE Terms of Use","modified":"2024-09-16T23:31:49.195Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-xvpx-6hh8-7h72","url":"https://github.com/advisories/GHSA-xvpx-6hh8-7h72","licence":"CC-BY-4.0","modified":"2025-11-07T00:15:14.242Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-36020","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-36020","licence":"Public domain","modified":"2026-06-17T03:58:13.310Z"}],"updatedAt":"2026-11-25T22:58:03.596Z","epss":{"score":0.02559,"percentile":0.85526,"date":"2026-12-01T12:00:22.000Z"}}