CVE-2019-8131: 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 into code field of an inventory source.
Other sources
Magento 2 Community Edition XSS Vulnerability
— Packagist
PRODSECBUG-2423: Cross-Site Scripting via inventory source
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-8131?
CVE-2019-8131 has a moderate severity level due to its ability to allow XSS attacks by authenticated users.
How do I fix CVE-2019-8131?
To fix CVE-2019-8131, upgrade to Magento version 2.2.10 or 2.3.2-p1 or later.
Who is affected by CVE-2019-8131?
CVE-2019-8131 affects Magento versions prior to 2.2.10 and 2.3.2-p1.
What type of vulnerability is CVE-2019-8131?
CVE-2019-8131 is a stored cross-site scripting (XSS) vulnerability.
How can CVE-2019-8131 be exploited?
CVE-2019-8131 can be exploited by authenticated users injecting malicious JavaScript code into inventory source fields.