CVE-2019-7938: 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.
Other sources
Magento 2 Community Edition XSS Vulnerability
— Packagist
PRODSECBUG-2369: Stored cross-site scripting in the admin panel
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
composer/magento/product-community-editionto a version that resolves this vulnerability.Fixed in 2.3.2 - Upgrade
Upgrade
composer/magento/product-community-editionto a version that resolves this vulnerability.Fixed in 2.2.9 - Upgrade
Upgrade
composer/magento/product-community-editionto a version that resolves this vulnerability.Fixed in 2.1.18 - Upgrade
Upgrade
composer/magento/magento1eeto a version that resolves this vulnerability.Fixed in 1.14.4.2 - Upgrade
Upgrade
composer/magento/magento1ceto a version that resolves this vulnerability.Fixed in 1.9.4.2 - Upgrade
Upgrade
composer/magento/community-editionto a version that resolves this vulnerability.Fixed in 2.3.2 - Upgrade
Upgrade
composer/magento/community-editionto a version that resolves this vulnerability.Fixed in 2.2.9 - Upgrade
Upgrade
composer/magento/community-editionto a version that resolves this vulnerability.Fixed in 2.1.18
Event History
Frequently Asked Questions
What is the severity of CVE-2019-7938?
The severity of CVE-2019-7938 is classified as high due to its potential for stored cross-site scripting (XSS) attacks.
How do I fix CVE-2019-7938?
To fix CVE-2019-7938, upgrade your Magento installation to version 1.9.4.2 or later for Magento 1, and for Magento 2, update to versions 2.1.18, 2.2.9, or 2.3.2.
What versions of Magento are affected by CVE-2019-7938?
CVE-2019-7938 affects Magento Open Source versions prior to 1.9.4.2 and Magento Commerce versions prior to 1.14.4.2, as well as multiple Magento 2.x versions.
Can an unauthenticated user exploit CVE-2019-7938?
No, CVE-2019-7938 requires an authenticated user with privileges to exploit the stored cross-site scripting vulnerability.
Where can I find more information about CVE-2019-7938?
More information about CVE-2019-7938 can typically be found in official Magento security advisories.