GitHub Advisory Database
GHSA-52fg-wjxm-pp44
Magento DOM-based Cross-Site Scripting (XSS) vulnerability
Details
Magento versions 2.4.7-p1, 2.4.6-p6, 2.4.5-p8, 2.4.4-p9 and earlier are affected by a DOM-based Cross-Site Scripting (XSS) vulnerability. This vulnerability could allow an admin attacker to inject and execute arbitrary JavaScript code within the context of the user's browser session. Exploitation of this issue requires user interaction, such as convincing a victim to click on a malicious link. Confidentiality and integrity impact is high as it affects other admin accounts.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Packagist | magento/project-community-edition | All versions up to and including 2.0.2 |
| Packagist | magento/community-edition | From 2.4.7-beta1 before 2.4.7-p2 (fixed in 2.4.7-p2) |
| Packagist | magento/community-edition | From 2.4.6-p1 before 2.4.6-p7 (fixed in 2.4.6-p7) |
| Packagist | magento/community-edition | From 2.4.5-p1 before 2.4.5-p9 (fixed in 2.4.5-p9) |
| Packagist | magento/community-edition | From 2.4.4-p1 before 2.4.4-p10 (fixed in 2.4.4-p10) |
| Packagist | magento/community-edition | 2.4.7 |
| Packagist | magento/community-edition | 2.4.6 |
| Packagist | magento/community-edition | 2.4.5 |
| Packagist | magento/community-edition | 2.4.4 |