MEDIUM6.1
GHSA-fm68-89m8-4gjj
Composer JavaScript injection possible via html comments
Quick fix
GHSA-fm68-89m8-4gjj — magento/community-edition: upgrade to the fixed version with the command below.
composer require magento/community-edition:^2.2.10Details
In Magento 2.2 prior to 2.2.10, Magento 2.3 prior to 2.3.3 or 2.3.2-p1, an unauthenticated user can inject arbitrary JavaScript code as a result of the sanitization engine ignoring HTML comments.
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.10Fix
composer require magento/community-edition:^2.2.10Packagist/magento/community-edition
Introduced in:
2.3Fixed in: 2.3.3Fix
composer require magento/community-edition:^2.3.3