GHSA-5gmh-85x8-5cx7 Magento remote code execution (RCE), Cross-Site Scripting (XSS) and other vulnerabilities
Authenticated admin users can execute remote code and inject scripts in Magento, requiring an upgrade to secure the e-commerce platform.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is GHSA-5gmh-85x8-5cx7?
GHSA-5gmh-85x8-5cx7 is a code injection vulnerability in magento/community-edition, published on 15 May 2024. An attacker needs administrator access to exploit it, with no action from the victim.
Official description
Which versions are affected by GHSA-5gmh-85x8-5cx7?
4 open source packages ship an affected version, including magento/community-edition.
| Package | Affected | Fixed in |
|---|---|---|
magento/community-edition Packagist | From 2.1 | 2.1.14 |
magento/community-edition Packagist | From 2.1 | 2.1.14 |
magento/community-edition Packagist | From 2.2 | 2.2.5 |
magento/community-edition Packagist | From 2.2 | 2.2.5 |
How do I fix GHSA-5gmh-85x8-5cx7?
Upgrade magento/community-edition to a fixed version for your release line: 2.1.14 or 2.2.5.
Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.
Is GHSA-5gmh-85x8-5cx7 being exploited?
There is no known exploitation of GHSA-5gmh-85x8-5cx7 in the wild and no public exploit code.