CVE-2019-8146: Magento 2 Community Edition XSS Vulnerability
A stored cross-site scripting (XSS) vulnerability exists in Magento 2.2 prior to 2.2.10, Magento 2.3 prior to 2.3.3 or 2.3.2-p1. An authenticated user can inject arbitrary JavaScript code when adding a new customer attribute for stores.
Other sources
Magento 2 Community Edition XSS Vulnerability
— Packagist
PRODSECBUG-2401: Cross-Site Scripting via Customer Attribute Option Value
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
composer/magento/community-editionto a version that resolves this vulnerability.Fixed in 2.3.2-p2 - Upgrade
Upgrade
composer/magento/community-editionto a version that resolves this vulnerability.Fixed in 2.2.10 - Upgrade
Upgrade
composer/magento/product-community-editionto a version that resolves this vulnerability.Fixed in 2.2.10 - Upgrade
Upgrade
composer/magento/product-community-editionto a version that resolves this vulnerability.Fixed in 2.3.2-p2 - Upgrade
Upgrade
Magento 2.2to a version that resolves this vulnerability.Fixed in 2.2.10 - Upgrade
Upgrade
Magento 2.3to a version that resolves this vulnerability.Fixed in 2.3.3 - Upgrade
Upgrade
Magento 2.3.2-p1to a version that resolves this vulnerability.Fixed in 2.3.2-p2
Event History
Frequently Asked Questions
What is the severity of CVE-2019-8146?
CVE-2019-8146 has been categorized as a medium severity vulnerability due to the possibility of stored cross-site scripting attacks.
How do I fix CVE-2019-8146?
To fix CVE-2019-8146, upgrade Magento to version 2.2.10 or 2.3.3 and later.
Who is affected by CVE-2019-8146?
CVE-2019-8146 affects Magento versions 2.2 prior to 2.2.10 and 2.3 prior to 2.3.3.
What type of vulnerability is CVE-2019-8146?
CVE-2019-8146 is a stored cross-site scripting (XSS) vulnerability.
Can an attacker exploit CVE-2019-8146 without authentication?
No, an attacker must be an authenticated user to exploit CVE-2019-8146.