GitHub Advisory Database
GHSA-2768-5wmv-cfff
Magento vulnerable to stored Cross-Site Scripting (XSS)
Details
Magento versions 2.4.9-alpha2, 2.4.8-p2, 2.4.7-p7, 2.4.6-p12, 2.4.5-p14, 2.4.4-p15 and earlier are affected by a stored Cross-Site Scripting (XSS) vulnerability that could be abused by a high-privileged attacker to inject malicious scripts into vulnerable form fields. Malicious JavaScript may be executed in a victim’s browser when they browse to the page containing the vulnerable field. A successful attacker can abuse this to achieve session takeover, increasing the confidentiality, and integrity impact to high. Exploitation of this issue requires user interaction in that a victim must browse to the page containing the vulnerable field. Scope is changed.
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.9-alpha1 before 2.4.9-alpha3 (fixed in 2.4.9-alpha3) |
| Packagist | magento/community-edition | From 2.4.8-beta1 before 2.4.8-p3 (fixed in 2.4.8-p3) |
| Packagist | magento/community-edition | From 2.4.7-beta1 before 2.4.7-p8 (fixed in 2.4.7-p8) |
| Packagist | magento/community-edition | All versions before 2.4.6-p13 (fixed in 2.4.6-p13) |
| Packagist | magento/community-edition | 2.4.8 |
| Packagist | magento/community-edition | 2.4.7 |
| Packagist | magento/community-edition | 2.4.6 |