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

Not scored Published

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

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.

Which versions are affected by GHSA-5gmh-85x8-5cx7?

4 open source packages ship an affected version, including magento/community-edition.

PackageAffectedFixed in
magento/community-edition PackagistFrom 2.12.1.14
magento/community-edition PackagistFrom 2.12.1.14
magento/community-edition PackagistFrom 2.22.2.5
magento/community-edition PackagistFrom 2.22.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.

Sources

Is GHSA-5gmh-85x8-5cx7 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free