CVE-2024-39400 DOM XSS through integrations can impact other admins

High 8.1 Published Updated

An admin attacker can inject JavaScript via integrations to compromise other admin accounts in Adobe Commerce.

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-39400?

CVE-2024-39400 is a high-severity cross-site scripting vulnerability in Adobe Commerce, published on 14 Aug 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-p1, 2.4.6-p6, 2.4.5-p8, 2.4.4-p9 and earlier are affected by a DOM-based Cross-Site Scripting (XSS) vulnerability. This vulnerability could allow an admin attacker to inject and execute arbitrary JavaScript code within the context of the user's browser session. Exploitation of this issue requires user interaction, such as convincing a victim to click on a malicious link. Confidentiality and integrity impact is high as it affects other admin accounts.

Weakness: CWE-79

Which versions are affected by CVE-2024-39400?

12 open source packages ship an affected version, including magento/community-edition and magento/project-community-edition. It affects 2 products.

PackageAffectedFixed in
magento/community-edition PackagistAll versionsNone
magento/community-edition PackagistAll versionsNone
magento/community-edition PackagistFrom 2.4.4-p12.4.4-p10
magento/community-edition PackagistFrom 2.4.4-p12.4.4-p10
magento/community-edition PackagistFrom 2.4.5-p12.4.5-p9
magento/community-edition PackagistFrom 2.4.5-p12.4.5-p9
6 more packages
magento/community-edition PackagistFrom 2.4.6-p12.4.6-p7
magento/community-edition PackagistFrom 2.4.6-p12.4.6-p7
magento/community-edition PackagistFrom 2.4.7-beta12.4.7-p2
magento/community-edition PackagistFrom 2.4.7-beta12.4.7-p2
magento/project-community-edition PackagistAll versions to 2.0.2None
magento/project-community-edition PackagistAll versions to 2.0.2None

Products include Adobe Commerce, Adobe Magento.

How do I fix CVE-2024-39400?

Upgrade magento/community-edition to a fixed version for your release line: 2.4.4-p10, 2.4.5-p9, 2.4.6-p7 or 2.4.7-p2.

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-39400 being exploited?

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

All Adobe Commerce vulnerabilities

Sources

Also known as GHSA-52fg-wjxm-pp44.

Is CVE-2024-39400 in your software?

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

Check your SBOMs for free