CVE-2021-28556
MEDIUM6.9EPSS 23.9%Magento DOM-based Cross-Site Scripting vulnerability on mage-messages cookies
Published: 5/24/2022Modified: 2/10/2025
Description
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 packages (3)
- Bitnami/magentofrom 0, < 2.3.7, >= 2.4.0, < 2.4.3
- Packagist/magento/community-edition>= 2.4.0, < 2.4.2-p1
- Packagist/magento/project-community-editionfrom 0, <= 2.0.2
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM6.9 | CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:L/A:N |