NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · Composer (PHP)

CVE-2024-39400: Magento DOM-based Cross-Site Scripting (XSS) vulnerability

highCVSS 3.1 8.1GHSA-52fg-wjxm-pp44

Magento 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.

Published Aug 14, 2024 · Updated Nov 6, 2025

Affected packages

magento/project-community-edition

Ecosystem
Composer (PHP)
Affected
<= 2.0.2
Fixed in
No patched version yet
Check
composer show magento/project-community-edition

magento/community-edition

Ecosystem
Composer (PHP)
Affected
>= 2.4.7-beta1, < 2.4.7-p2
Fixed in
2.4.7-p2
Check
composer show magento/community-edition

magento/community-edition

Ecosystem
Composer (PHP)
Affected
>= 2.4.6-p1, < 2.4.6-p7
Fixed in
2.4.6-p7
Check
composer show magento/community-edition

magento/community-edition

Ecosystem
Composer (PHP)
Affected
>= 2.4.5-p1, < 2.4.5-p9
Fixed in
2.4.5-p9
Check
composer show magento/community-edition

magento/community-edition

Ecosystem
Composer (PHP)
Affected
>= 2.4.4-p1, < 2.4.4-p10
Fixed in
2.4.4-p10
Check
composer show magento/community-edition

magento/community-edition

Ecosystem
Composer (PHP)
Affected
= 2.4.7
Fixed in
No patched version yet
Check
composer show magento/community-edition

magento/community-edition

Ecosystem
Composer (PHP)
Affected
= 2.4.6
Fixed in
No patched version yet
Check
composer show magento/community-edition

magento/community-edition

Ecosystem
Composer (PHP)
Affected
= 2.4.5
Fixed in
No patched version yet
Check
composer show magento/community-edition

magento/community-edition

Ecosystem
Composer (PHP)
Affected
= 2.4.4
Fixed in
No patched version yet
Check
composer show magento/community-edition

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

Magento 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.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology

More Composer (PHP) vulnerabilities

All Composer (PHP) entries