MEDIUM5.4
GHSA-85xw-3hp5-6fmc
Magento 2 Community Edition XSS Vulnerability
Quick fix
GHSA-85xw-3hp5-6fmc — magento/community-edition: upgrade to the fixed version with the command below.
composer require magento/community-edition:^2.2.10Details
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 execute arbitrary JavaScript code by providing arbitrary API endpoint that will not be chcecked by sale pickup event.
Are you affected?
Enter the version of the package you're using.
Affected packages
Packagist/magento/community-edition
Introduced in:
2.2.0Fixed in: 2.2.10Fix
composer require magento/community-edition:^2.2.10Packagist/magento/community-edition
Introduced in:
2.3.0Fixed in: 2.3.2-p1Fix
composer require magento/community-edition:^2.3.2-p1References
- https://nvd.nist.gov/vuln/detail/CVE-2019-8138[ADVISORY]
- https://github.com/FriendsOfPHP/security-advisories/blob/master/magento/product-community-edition/CVE-2019-8138.yaml[WEB]
- https://github.com/magento/magento2[PACKAGE]
- https://magento.com/security/patches/magento-2.3.3-and-2.2.10-security-update[WEB]
- https://web.archive.org/web/20220121051105/https://magento.com/security/patches/magento-2.3.3-and-2.2.10-security-update[WEB]