CVE-2019-7921Magento
Medium 5.4
- Priority
- 32
- CVSS 3.0
- 5.4
- EPSS
- —
- Auth required
- Yes
- Published
- Aug 2, 2019
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-79
- Vector
CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
What happens
A stored cross-site scripting vulnerability exists in the product catalog form of 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 the product catalog to inject malicious javascript.
What to do
- Apply the vendor's security update for Magento.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Packagist | magento/community-edition |
≥ 2.1.0 < 2.1.18 |
2.1.18 |
composer require "magento/community-edition:^2.1.18" |
| Packagist | magento/community-edition |
≥ 2.2.0 < 2.2.9 |
2.2.9 |
composer require "magento/community-edition:^2.2.9" |
| Packagist | magento/community-edition |
≥ 2.3.0 < 2.3.2 |
2.3.2 |
composer require "magento/community-edition:^2.3.2" |
Per OSV / GitHub Advisories (GHSA-gg96-8w9x-7rx9). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| magento | magento | ≥ 2.1.0 < 2.1.18 |
| magento | magento | ≥ 2.2.0 < 2.2.9 |
| magento | magento | ≥ 2.3.0 < 2.3.2 |
Official sources
References
Links published by the sources. Open them with care.
- magento.com Vendor Advisory