GitHub Advisory Database
GHSA-39ch-rg26-gmq5
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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Packagist | magento/community-edition | From 2.4.0 before 2.4.2-p1 (fixed in 2.4.2-p1) |
| Packagist | magento/community-edition | All versions before 2.3.7 (fixed in 2.3.7) |
| Packagist | magento/project-community-edition | All versions up to and including 2.0.2 |