VDB
Sign up
MEDIUM5.4

GHSA-mhwc-4w67-xq2c

Magento Cross-Site Scripting via store name

Quick fix

GHSA-mhwc-4w67-xq2c — magento/community-edition: upgrade to the fixed version with the command below.

composer require magento/community-edition:^2.2.10

Details

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 exploit it by injecting malicious Javascript into the name of main website.

Are you affected?

Enter the version of the package you're using.

Affected packages

Packagist/magento/community-edition
Introduced in: 2.2Fixed in: 2.2.10
Fixcomposer require magento/community-edition:^2.2.10
Packagist/magento/community-edition
Introduced in: 2.3Fixed in: 2.3.2-p1
Fixcomposer require magento/community-edition:^2.3.2-p1

References