CVE-2021-28556: Magento

Medium severity, CVSS 4.8. EPSS: 1.4% chance of exploitation in the next 30 days.

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.

Affected products

  • Magento Magento: before 2.3.7 (fixed in 2.3.7); from 2.4.0, up to and including 2.4.2

Published 2021-06-28. Last modified 2026-06-17.