{"id":"CVE-2021-36027","aliases":["CVE-2021-36027","GHSA-x2v2-2jhp-c5hv"],"related":[],"kind":"vulnerability","state":"published","title":"Magento Commerce Stored Cross-site Scripting Vulnerability","summary":"Magento Commerce versions 2.4.2 (and earlier), 2.4.2-p1 (and earlier) and 2.3.7 (and earlier) are affected by a stored cross-site scripting vulnerability that could be abused by an attacker to inject malicious scripts into vulnerable form fields. Malicious JavaScript may be executed in a victim’s browser when they browse to the page containing the vulnerable field.","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 a stored cross-site scripting vulnerability that could be abused by an attacker to inject malicious scripts into vulnerable form fields. Malicious JavaScript may be executed in a victim’s browser when they browse to the page containing the vulnerable field.","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 tipo cross-site scripting almacenado que podría ser abusada por un atacante para inyectar scripts maliciosos en campos de formulario vulnerables. El JavaScript malicioso puede ser ejecutado en el navegador de una víctima cuando ésta navega a la página conteniendo el campo vulnerable","source":"nvd"}],"published":"2021-09-01T14:32:00.605Z","modified":"2026-06-17T03:58:14.223Z","severity":{"scorer":"adobe","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N","score":6.5,"rating":"MEDIUM"},"severities":[{"scorer":"adobe","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N","score":6.5,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"rating","rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:M/Au:N/C:N/I:P/A:N","score":4.3,"rating":"MEDIUM"}],"cwes":["CWE-79"],"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-36027","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-36027","url":"https://www.cve.org/CVERecord?id=CVE-2021-36027","licence":"CVE Terms of Use","modified":"2024-09-16T20:47:32.807Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-x2v2-2jhp-c5hv","url":"https://github.com/advisories/GHSA-x2v2-2jhp-c5hv","licence":"CC-BY-4.0","modified":"2025-11-06T21:42:36.825Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-36027","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-36027","licence":"Public domain","modified":"2026-06-17T03:58:14.223Z"}],"updatedAt":"2026-11-25T22:58:03.598Z","epss":{"score":0.01354,"percentile":0.7177,"date":"2026-11-30T12:00:22.000Z"}}