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

Published Jun 25, 2019
·
Updated

A stored cross-site scripting vulnerability exists in the admin panel of Magento Open Source prior to 1.9.4.2, and Magento Commerce prior to 1.14.4.2, Magento 2.1 prior to 2.1.18, Magento 2.2 prior to 2.2.9, Magento 2.3 prior to 2.3.2. This could be exploited by an authenticated user with privileges to modify catalog price rules to inject malicious javascript.

Other sources

Magento 2 Community Edition XSS Vulnerability

— Packagist

PRODSECBUG-2369: Stored cross-site scripting in the admin panel

Affected Software

24 affected componentsFixes available
composer/magento/magento1ce>=1, <1.9.4.2
composer/magento/magento1ee>=1, <1.14.4.2
composer/magento/product-community-edition>=2.1, <2.1.18, >=2.2, <2.2.9, >=2.3, <2.3.2
composer/magento/product-community-edition>=2.3<2.3.2
2.3.2
composer/magento/product-community-edition>=2.2<2.2.9
2.2.9
composer/magento/product-community-edition>=2.1<2.1.18
2.1.18
composer/magento/magento1ee>=1<1.14.4.2
1.14.4.2
composer/magento/magento1ce>=1<1.9.4.2
1.9.4.2
composer/magento/community-edition>=2.3.0<2.3.2
2.3.2
composer/magento/community-edition>=2.2.0<2.2.9
2.2.9
composer/magento/community-edition>=2.1.0<2.1.18
2.1.18
Magento Magento<1.9.4.2
Magento Magento<1.14.4.2
Magento Magento>=2.1.0<2.1.18
Magento Magento>=2.2.0<2.2.9
Magento Magento>=2.3.0<2.3.2
composer/magento/community-edition>=2.3.0, <2.3.2
2.3.2
composer/magento/community-edition>=2.2.0, <2.2.9
2.2.9
composer/magento/community-edition>=2.1.0, <2.1.18
2.1.18
composer/magento/product-community-edition>=2.1, <2.1.18
2.1.18
composer/magento/product-community-edition>=2.2, <2.2.9
2.2.9
composer/magento/product-community-edition>=2.3, <2.3.2
2.3.2
composer/magento/magento1ee>=1, <1.14.4.2
1.14.4.2
composer/magento/magento1ce>=1, <1.9.4.2
1.9.4.2

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade composer/magento/product-community-edition to a version that resolves this vulnerability.

    Fixed in 2.3.2
  2. Upgrade

    Upgrade composer/magento/product-community-edition to a version that resolves this vulnerability.

    Fixed in 2.2.9
  3. Upgrade

    Upgrade composer/magento/product-community-edition to a version that resolves this vulnerability.

    Fixed in 2.1.18
  4. Upgrade

    Upgrade composer/magento/magento1ee to a version that resolves this vulnerability.

    Fixed in 1.14.4.2
  5. Upgrade

    Upgrade composer/magento/magento1ce to a version that resolves this vulnerability.

    Fixed in 1.9.4.2
  6. Upgrade

    Upgrade composer/magento/community-edition to a version that resolves this vulnerability.

    Fixed in 2.3.2
  7. Upgrade

    Upgrade composer/magento/community-edition to a version that resolves this vulnerability.

    Fixed in 2.2.9
  8. Upgrade

    Upgrade composer/magento/community-edition to a version that resolves this vulnerability.

    Fixed in 2.1.18

Event History

Jun 25, 2019
Advisory Published
12:00 AM
Data Sourced
via Packagist·12:00 AM
DescriptionSeverityAffected Software
Aug 2, 2019
CVE Published
via MITRE·09:33 PM
Data Sourced
via MITRE·09:33 PM
DescriptionWeakness
Data Sourced
via NVD·10:15 PM
DescriptionSeverityWeaknessAffected Software
May 24, 2022
Advisory Published
via GitHub·04:52 PM
Data Sourced
via GitHub·04:52 PM
DescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2019-7938?

The severity of CVE-2019-7938 is classified as high due to its potential for stored cross-site scripting (XSS) attacks.

2

How do I fix CVE-2019-7938?

To fix CVE-2019-7938, upgrade your Magento installation to version 1.9.4.2 or later for Magento 1, and for Magento 2, update to versions 2.1.18, 2.2.9, or 2.3.2.

3

What versions of Magento are affected by CVE-2019-7938?

CVE-2019-7938 affects Magento Open Source versions prior to 1.9.4.2 and Magento Commerce versions prior to 1.14.4.2, as well as multiple Magento 2.x versions.

4

Can an unauthenticated user exploit CVE-2019-7938?

No, CVE-2019-7938 requires an authenticated user with privileges to exploit the stored cross-site scripting vulnerability.

5

Where can I find more information about CVE-2019-7938?

More information about CVE-2019-7938 can typically be found in official Magento security advisories.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203