{"id":"BIT-magento-2021-28556","summary":"Magento Commerce DOM-based cross-site scripting (XSS) could lead to arbitrary javascript execution","details":"Magento versions 2.4.2 (and earlier), 2.4.1 (and earlier) and 2.3.6 (and earlier) are affected by a DOM-based Cross-Site Scripting vulnerability on mage-messages cookies. Successful exploitation could lead to arbitrary JavaScript execution by an unauthenticated attacker. User interaction is required for successful exploitation.","aliases":["CVE-2021-28556","GHSA-39ch-rg26-gmq5"],"modified":"2026-09-08T08:47:41.442569108Z","published":"2024-03-06T10:59:08.920Z","database_specific":{"severity":"Medium","cpes":["cpe:2.3:a:magento:magento:*:*:*:*:commerce:*:*:*","cpe:2.3:a:magento:magento:*:*:*:*:open_source:*:*:*"]},"references":[{"type":"ADVISORY","url":"https://helpx.adobe.com/security/products/magento/apsb21-30.html"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-28556"}],"affected":[{"package":{"name":"magento","ecosystem":"Bitnami","purl":"pkg:bitnami/magento"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"2.3.7"},{"introduced":"2.4.0"},{"fixed":"2.4.3"}]}],"database_specific":{"source":"https://github.com/bitnami/vulndb/tree/main/data/magento/BIT-magento-2021-28556.json"},"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N"}]}],"schema_version":"1.9.0"}