CVE-2019-8152Magento
Medium 5.4
Follow: this CVE · Magento · Magento We alert you by email or Slack (account required).
- Priority
- 32
- CVSS 3.1
- 5.4
- EPSS
- 0.6% probability of exploitation in 30 days · percentile 50
- Auth required
- Yes
- Published
- Nov 6, 2019
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-79
- Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
What happens
A stored cross-site scripting (XSS) vulnerability exists in in Magento 1 prior to 1.9.4.3 and 1.14.4.3, Magento 2.2 prior to 2.2.10, Magento 2.3 prior to 2.3.3 or 2.3.2-p1. An authenticated user with access to the wysiwyg editor can abuse the blockDirective() function and inject malicious javascript in the cache of the admin dashboard.
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.2.0 < 2.2.10 |
2.2.10 |
composer require "magento/community-edition:^2.2.10" |
| Packagist | magento/community-edition |
≥ 2.3 < 2.3.2-p2 |
2.3.2-p2 |
composer require "magento/community-edition:^2.3.2-p2" |
Per OSV / GitHub Advisories (GHSA-jjmg-xmq2-g6ff). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| magento | magento | ≥ 1.5.0.0 < 1.9.4.3 |
| magento | magento | ≥ 1.9.0.0 < 1.14.4.3 |
| magento | magento | ≥ 2.2.0 < 2.2.10 |
| magento | magento | ≥ 2.2.0 < 2.2.10 |
| magento | magento | ≥ 2.3.0 < 2.3.2 |
| magento | magento | ≥ 2.3.0 < 2.3.2 |
| magento | magento | 2.3.2 |
| magento | magento | 2.3.2 |
Official sources
References
Links published by the sources. Open them with care.
- magento.com Patch Vendor Advisory