GitHub Advisory Database
GHSA-mmp7-8cg4-9wrg
Magento Stored 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 stored Cross-Site Scripting (XSS) vulnerability that could be abused by a low-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. Confidentiality impact is high due to the attacker being able to exfiltrate sensitive information.
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 |