VDB
Sign up
MEDIUM5.4

GHSA-985w-mqqp-7287

Magento 2 Community Edition XSS Vulnerability

Quick fix

GHSA-985w-mqqp-7287 — magento/community-edition: upgrade to the fixed version with the command below.

composer require magento/community-edition:^2.1.19

Details

A stored cross-site scripting (XSS) vulnerability exists in Magento 2.1 prior to 2.1.19, Magento 2.2 prior to 2.2.10, Magento 2.3 prior to 2.3.3. An authenticated user can inject arbitrary Javascript code by manipulating section of a POST request related to customer's email address.

Are you affected?

Enter the version of the package you're using.

Affected packages

Packagist/magento/community-edition
Introduced in: 2.1.0Fixed in: 2.1.19
Fixcomposer require magento/community-edition:^2.1.19
Packagist/magento/community-edition
Introduced in: 2.2.0Fixed in: 2.2.10
Fixcomposer require magento/community-edition:^2.2.10
Packagist/magento/community-edition
Introduced in: 2.3.0Fixed in: 2.3.3
Fixcomposer require magento/community-edition:^2.3.3

References