---
title: "GHSA-5gmh-85x8-5cx7: Magento remote code execution (RCE), Cross-Site Scripting (XSS) and other vulnerabilities"
url: https://erroneo.us/security/ghsa/GHSA-5gmh-85x8-5cx7/
description: "GHSA-5gmh-85x8-5cx7 (critical, Composer (PHP)): Magento remote code execution (RCE), Cross-Site Scripting (XSS) and other vulnerabilities. Magento Commerce…"
type: advisory
section: "Security Digest"
date_published: 2024-05-15
date_modified: 2024-05-15
publisher: erroneo.us
author: erroneo.us Security Desk
ghsa: "GHSA-5gmh-85x8-5cx7"
license: All rights reserved. Quote with attribution and a link.
---

# GHSA-5gmh-85x8-5cx7: Magento remote code execution (RCE), Cross-Site Scripting (XSS) and other vulnerabilities

## Affected packages

- Composer (PHP) `magento/community-edition` >= 2.1, < 2.1.14 → fixed: 2.1.14
- Composer (PHP) `magento/community-edition` >= 2.2, < 2.2.5 → fixed: 2.2.5

## Details

Magento Commerce and Open Source 2.2.5 and 2.1.14 contain multiple security enhancements that help close authenticated Admin user remote code execution (RCE), Cross-Site Scripting (XSS) and other vulnerabilities.

## Sources

- [GitHub Advisory GHSA-5gmh-85x8-5cx7](https://github.com/advisories/GHSA-5gmh-85x8-5cx7)
- [github.com](https://github.com/FriendsOfPHP/security-advisories/blob/master/magento/product-community-edition/2018-06-27.yaml)
- [web.archive.org](https://web.archive.org/web/20210802091126/https://magento.com/security/patches/magento-2.2.5-and-2.1.14-security-update)

---
Source page: https://erroneo.us/security/ghsa/GHSA-5gmh-85x8-5cx7/ · Security Digest: https://erroneo.us/security/ · More: https://erroneo.us/llms.txt
