CVE-2019-8157: Magento Cross-Site Scripting via admin panel
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 manipulate downloadable link and cause an invocation of error handling that acceses user input without sanitization.
Other sources
Magento Cross-Site Scripting via admin panel
— Packagist
PRODSECBUG-2290: Cross-Site Scripting via admin panel
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-p1 - 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
Event History
Frequently Asked Questions
What is the severity of CVE-2019-8157?
CVE-2019-8157 has been classified as a severe stored cross-site scripting (XSS) vulnerability.
How do I fix CVE-2019-8157?
To fix CVE-2019-8157, upgrade to Magento version 2.2.10 or 2.3.3 (or 2.3.2-p1) or later.
What types of Magento versions are affected by CVE-2019-8157?
CVE-2019-8157 affects Magento 2.2 versions prior to 2.2.10 and Magento 2.3 versions prior to 2.3.3 or 2.3.2-p1.
What can an attacker do with CVE-2019-8157?
An attacker can exploit CVE-2019-8157 to inject malicious scripts into downloaded links accessed by authenticated users.
Is user authentication necessary to exploit CVE-2019-8157?
Yes, an authenticated user is required to exploit the stored XSS vulnerability described in CVE-2019-8157.