Magento 2 Community Edition XSS Vulnerability
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.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Composer package | magento/community-edition | >= 2.1.0, < 2.1.18, >= 2.2.0, < 2.2.9, >= 2.3.0, < 2.3.2 | 2.1.18, 2.2.9, 2.3.2 |
| Composer package | magento/magento1ce | >= 1, < 1.9.4.2 | 1.9.4.2 |
| Composer package | magento/magento1ee | >= 1, < 1.14.4.2 | 1.14.4.2 |
| Composer package | magento/product-community-edition | >= 2.1, < 2.1.18, >= 2.2, < 2.2.9, >= 2.3, < 2.3.2 | 2.1.18, 2.2.9, 2.3.2 |
| Magento (core) | magento/community-edition | >= 2.1.0, < 2.1.18, >= 2.2.0, < 2.2.9, >= 2.3.0, < 2.3.2, >= 2.1, < 2.1.18, >= 2.2, < 2.2.9, >= 2.3, < 2.3.2 | 2.1.18, 2.2.9, 2.3.2 |
References
- https://nvd.nist.gov/vuln/detail/CVE-2019-7938
- https://github.com/FriendsOfPHP/security-advisories/blob/master/magento/magento1ce/CVE-2019-7938.yaml
- https://github.com/FriendsOfPHP/security-advisories/blob/master/magento/magento1ee/CVE-2019-7938.yaml
- https://github.com/FriendsOfPHP/security-advisories/blob/master/magento/product-community-edition/CVE-2019-7938.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
- CVSS vector
CVSS:3.0/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N- Weakness (CWE)
CWE-79- Platform
- Composer, Magento
- Package
magento/community-edition, magento/magento1ce, magento/magento1ee- Disclosed
- 24.05.2022
- Updated
- 11.10.2026 11:17
Sources and licenses
OSV / GitHub Advisory Database - GHSA-mgfr-44wv-hqv6 - CC BY 4.0
Vulnerability history: magento/magento1ce
All published vulnerabilities of this package (Composer package), newest first. Shows whether this is a one-off slip or a package that needs watching.
This is the only known vulnerability of this package.
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.