{"id":"CVE-2021-28556","aliases":["BIT-magento-2021-28556","GHSA-39ch-rg26-gmq5"],"url":"https://o3.security/vulnerability/CVE-2021-28556","summary":"Magento DOM-based Cross-Site Scripting vulnerability on mage-messages cookies","details":"Magento versions 2.4.2 (and earlier), 2.4.1-p1 (and earlier) and 2.3.6-p1 (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.","published":"2021-06-28T14:15:09.980Z","modified":"2026-07-09T01:06:39.973580Z","cvss":{"score":4.8,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N"},"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"Packagist","name":"magento/community-edition","fixedVersion":"2.4.2-p1"},{"ecosystem":"Packagist","name":"magento/community-edition","fixedVersion":"2.3.7"},{"ecosystem":"Packagist","name":"magento/project-community-edition","fixedVersion":null}],"fix":null,"references":[{"type":"ADVISORY","url":"https://helpx.adobe.com/security/products/magento/apsb21-30.html"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-07-09T01:06:39.973580Z"}}