GitHub Advisory Database
GHSA-c45w-p293-7cv6
Magento 2 Community Edition XSS Vulnerability
Details
A stored cross-cite scripting vulnerability exists in Magento Open Source prior to 1.9.4.2, and Magento Commerce prior to 1.14.4.2, Magento 2.1 prior to 2.1.18, Magento 2.2 prior to 2.2.9, Magento 2.3 prior to 2.3.2. An authenticated user with privileges to modify currency symbols can inject malicious javascript.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Packagist | magento/community-edition | From 2.1.0 before 2.1.18 (fixed in 2.1.18) |
| Packagist | magento/community-edition | From 2.2.0 before 2.2.9 (fixed in 2.2.9) |
| Packagist | magento/community-edition | From 2.3.0 before 2.3.2 (fixed in 2.3.2) |
References
- https://nvd.nist.gov/vuln/detail/CVE-2019-7945
- https://github.com/FriendsOfPHP/security-advisories/blob/master/magento/magento1ce/CVE-2019-7945.yaml
- https://github.com/FriendsOfPHP/security-advisories/blob/master/magento/magento1ee/CVE-2019-7945.yaml
- https://github.com/FriendsOfPHP/security-advisories/blob/master/magento/product-community-edition/CVE-2019-7945.yaml
- https://github.com/magento/magento2
- https://magento.com/security/patches/magento-2.3.2-2.2.9-and-2.1.18-security-update-23
- https://web.archive.org/web/20220121051916/https://magento.com/security/patches/magento-2.3.2-2.2.9-and-2.1.18-security-update-23