CVE-2019-8233Magento
Medium 6.1 No auth needed
Follow: this CVE · Magento · Magento We alert you by email or Slack (account required).
- Priority
- 52
- CVSS 3.1
- 6.1
- EPSS
- 0.7% probability of exploitation in 30 days · percentile 56
- Auth required
- No
- 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:N/UI:R/S:C/C:L/I:L/A:N
What happens
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.
What to do
- Apply the vendor's security update for Magento.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Packagist | magento/community-edition |
≥ 2.2 < 2.2.10 |
2.2.10 |
composer require "magento/community-edition:^2.2.10" |
| Packagist | magento/community-edition |
≥ 2.3 < 2.3.3 |
2.3.3 |
composer require "magento/community-edition:^2.3.3" |
Per OSV / GitHub Advisories (GHSA-fm68-89m8-4gjj). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| 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 Vendor Advisory