CVE-2024-45116 Adobe Commerce | Cross-site Scripting (XSS) (CWE-79)

High 8.1 Published Updated

An admin attacker can execute arbitrary scripts in a victim's browser via crafted links, compromising confidentiality and integrity.

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-2024-45116?

CVE-2024-45116 is a high-severity cross-site scripting vulnerability in Adobe Commerce, published on 10 Oct 2024. An attacker needs administrator access to exploit it, and only if a user opens a file or follows a link.

Official description

Adobe Commerce versions 2.4.7-p2, 2.4.6-p7, 2.4.5-p9, 2.4.4-p10 and earlier are affected by a Cross-Site Scripting (XSS) vulnerability that could be exploited to execute arbitrary code. If an admin attacker can trick a user into clicking a specially crafted link or submitting a form, malicious scripts may be executed within the context of the victim's browser and have high impact on confidentiality and integrity. Exploitation of this issue requires user interaction.

Weakness: CWE-79

Which versions are affected by CVE-2024-45116?

10 open source packages ship an affected version, including magento/community-edition. It affects 3 products.

PackageAffectedFixed in
magento/community-edition PackagistAll versionsNone
magento/community-edition PackagistAll versionsNone
magento/community-edition PackagistAll versions2.4.4-p11
magento/community-edition PackagistAll versions2.4.4-p11
magento/community-edition PackagistFrom 2.4.5-p12.4.5-p10
magento/community-edition PackagistFrom 2.4.5-p12.4.5-p10
4 more packages
magento/community-edition PackagistFrom 2.4.6-p12.4.6-p8
magento/community-edition PackagistFrom 2.4.6-p12.4.6-p8
magento/community-edition PackagistFrom 2.4.7-beta12.4.7-p3
magento/community-edition PackagistFrom 2.4.7-beta12.4.7-p3

Products include Adobe Commerce, Adobe Commerce B2b, Adobe Magento.

How do I fix CVE-2024-45116?

Upgrade magento/community-edition to a fixed version for your release line: 2.4.4-p11, 2.4.5-p10, 2.4.6-p8 or 2.4.7-p3.

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-2024-45116 being exploited?

There is no known exploitation of CVE-2024-45116 in the wild and no public exploit code.

All Adobe Commerce vulnerabilities

Sources

Also known as GHSA-873m-72g6-853g.

Is CVE-2024-45116 in your software?

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

Check your SBOMs for free