Magento 2 Community Edition XSS Vulnerability
Impact
A stored cross-site scripting vulnerability exists in the admin panel of 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. This could be exploited by an authenticated user with privileges to modify catalog price rules to inject malicious javascript.
Source excerpt · OSVAffected packages
Start with the recorded fix for your release branch. Check your installed version and test compatibility before upgrading. Fixing this advisory does not rule out other vulnerabilities in the release.
| Affected range | Recorded fix |
|---|---|
| From 2.1.0 before 2.1.18Ecosystem versions | 2.1.18 |
| From 2.2.0 before 2.2.9Ecosystem versions | 2.2.9 |
| From 2.3.0 before 2.3.2Ecosystem versions | 2.3.2 |
Version evidence: OSV · GHSA-mgfr-44wv-hqv6
View original version evidence (29 explicit versions)
| Affected range | Recorded fix |
|---|---|
| From 1 before 1.9.4.2Ecosystem versions | 1.9.4.2 |
Version evidence: OSV · GHSA-mgfr-44wv-hqv6
View original version evidence (0 explicit versions)
| Affected range | Recorded fix |
|---|---|
| From 1 before 1.14.4.2Ecosystem versions | 1.14.4.2 |
Version evidence: OSV · GHSA-mgfr-44wv-hqv6
View original version evidence (0 explicit versions)
| Affected range | Recorded fix |
|---|---|
| From 2.1 before 2.1.18Ecosystem versions | 2.1.18 |
| From 2.2 before 2.2.9Ecosystem versions | 2.2.9 |
| From 2.3 before 2.3.2Ecosystem versions | 2.3.2 |
Version evidence: OSV · GHSA-mgfr-44wv-hqv6
View original version evidence (0 explicit versions)
Original source description
A stored cross-site scripting vulnerability exists in the admin panel of 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. This could be exploited by an authenticated user with privileges to modify catalog price rules to inject malicious javascript.
References
- Security advisory nvd.nist.gov/vuln/detail/CVE-2019-7938
- Security advisory github.com/FriendsOfPHP/security-advisories/blob/master/magento/magento1ce/CVE-2019-7938.yaml
- Security advisory github.com/FriendsOfPHP/security-advisories/blob/master/magento/magento1ee/CVE-2019-7938.yaml
- Security advisory github.com/FriendsOfPHP/security-advisories/blob/master/magento/product-community-edition/CVE-2019-7938.yaml
- Source reference github.com/magento/magento2
- Security advisory magento.com/security/patches/magento-2.3.2-2.2.9-and-2.1.18-security-update-23
- Security advisory web.archive.org/web/20220121051916/https://magento.com/security/patches/magento-2.3.2-2.2.9-and-2.1.18-security-update-23