Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. magento/community-edition
  4. ›
  5. CVE-2024-39400

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

August 14, 2024 (updated November 6, 2025)

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

  • github.com/advisories/GHSA-52fg-wjxm-pp44
  • github.com/magento/magento2
  • helpx.adobe.com/security/products/magento/apsb24-61.html
  • nvd.nist.gov/vuln/detail/CVE-2024-39400

Code Behaviors & Features

Detect and mitigate CVE-2024-39400 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 2.4.4-p1 before 2.4.4-p10, version 2.4.4, all versions starting from 2.4.5-p1 before 2.4.5-p9, version 2.4.5, all versions starting from 2.4.6-p1 before 2.4.6-p7, version 2.4.6, all versions starting from 2.4.7-beta1 before 2.4.7-p2, version 2.4.7

Fixed versions

  • 2.4.7-p2
  • 2.4.6-p7
  • 2.4.5-p9
  • 2.4.4-p10

Solution

Upgrade to versions 2.4.4-p10, 2.4.5-p9, 2.4.6-p7, 2.4.7-p2 or above.

Impact 8.1 HIGH

CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:H/A:N

Learn more about CVSS

Weakness

  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Source file

packagist/magento/community-edition/CVE-2024-39400.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 09 Nov 2025 12:19:21 +0000.