CVE-2019-8227 Magento XSS Vulnerability
Authenticated users with limited admin privileges can inject arbitrary JavaScript via import/export profile actions in Magento.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2019-8227?
CVE-2019-8227 is a medium-severity cross-site scripting vulnerability in Magento Magento, published on 6 Nov 2019. An attacker needs administrator access to exploit it, and only if a user opens a file or follows a link.
Official description
In Magento prior to 1.9.4.3 and Magento prior to 1.14.4.3, an authenticated user with limited administrative privileges can inject arbitrary JavaScript code via import / export functionality when creating profile action XML.
Weakness: CWE-79
Which versions are affected by CVE-2019-8227?
2 open source packages ship an affected version, including magento/core. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
magento/core Packagist | All versions | 1.9.4.3 |
magento/core Packagist | All versions | 1.9.4.3 |
Products include Magento Magento.
How do I fix CVE-2019-8227?
Upgrade magento/core to 1.9.4.3 or later.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2019-8227 being exploited?
There is no known exploitation of CVE-2019-8227 in the wild and no public exploit code.
Other vulnerabilities in Magento Magento
Sources
Also known as GHSA-j49x-jjmj-9fqj.