CVE-2019-7938: Magento 2 Community Edition XSS Vulnerability

CVE-2019-7938 · Severity: low · CVSS 3 · Published 2022-05-24

Magento 2 Community Edition XSS Vulnerability

Technologies: magento/community-edition (Packagist), magento/product-community-edition (Packagist). Vendors: Packagist.

Quick answers

Is CVE-2019-7938 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2019-7938 being exploited in the wild.
How severe is CVE-2019-7938?
Low severity, with a CVSS score of 3, published 24 May 2022.
Which products and versions are affected?
magento/community-edition (Packagist) ECOSYSTEM:introduced=2.1.0,fixed=2.1.18; magento/magento1ce (Packagist) ECOSYSTEM:introduced=1,fixed=1.9.4.2; magento/magento1ee (Packagist) ECOSYSTEM:introduced=1,fixed=1.14.4.2; magento/product-community-edition (Packagist) ECOSYSTEM:introduced=2.1,fixed=2.1.18.
Is there a fix for CVE-2019-7938?
Yes. magento/community-edition (Packagist): upgrade to 2.1.18 or later; magento/magento1ce (Packagist): upgrade to 1.9.4.2 or later; magento/magento1ee (Packagist): upgrade to 1.14.4.2 or later; magento/product-community-edition (Packagist): upgrade to 2.1.18 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
Am I affected by CVE-2019-7938?
Check whether you run magento/community-edition (Packagist), magento/magento1ce (Packagist), magento/magento1ee (Packagist) or one of the others listed at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

How to fix

  • magento/community-edition (Packagist): upgrade to 2.1.18 or later
    composer require magento/community-edition:^2.1.18
  • magento/magento1ce (Packagist): upgrade to 1.9.4.2 or later
    composer require magento/magento1ce:^1.9.4.2
  • magento/magento1ee (Packagist): upgrade to 1.14.4.2 or later
    composer require magento/magento1ee:^1.14.4.2
  • magento/product-community-edition (Packagist): upgrade to 2.1.18 or later
    composer require magento/product-community-edition:^2.1.18

Affected products

  • magento/community-edition (Packagist) ECOSYSTEM:introduced=2.1.0,fixed=2.1.18
  • magento/magento1ce (Packagist) ECOSYSTEM:introduced=1,fixed=1.9.4.2
  • magento/magento1ee (Packagist) ECOSYSTEM:introduced=1,fixed=1.14.4.2
  • magento/product-community-edition (Packagist) ECOSYSTEM:introduced=2.1,fixed=2.1.18

Identifiers

  • CVE-2019-7938
  • GHSA-mgfr-44wv-hqv6

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.