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

CVE-2024-20759: Magento Open Source allows Cross-Site Scripting (XSS)

April 10, 2024 (updated March 4, 2025)

Adobe Commerce versions 2.4.6-p4, 2.4.5-p6, 2.4.4-p7, 2.4.7-beta3 and earlier are affected by a stored Cross-Site Scripting (XSS) vulnerability that could be abused by a high-privileged attacker to inject malicious scripts into vulnerable form fields. Malicious JavaScript may be executed in a victim’s browser when they browse to the page containing the vulnerable field. Confidentiality and integrity are considered high due to having admin impact.

References

  • github.com/advisories/GHSA-59vf-hjxc-f9c5
  • github.com/magento/magento2
  • helpx.adobe.com/security/products/magento/apsb24-18.html
  • nvd.nist.gov/vuln/detail/CVE-2024-20759

Code Behaviors & Features

Detect and mitigate CVE-2024-20759 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-p8, version 2.4.4, all versions starting from 2.4.5-p1 before 2.4.5-p7, version 2.4.5, all versions starting from 2.4.6-p1 before 2.4.6-p5, version 2.4.6, all versions starting from 2.4.7-beta1 before 2.4.7

Fixed versions

  • 2.4.7
  • 2.4.6-p5
  • 2.4.5-p7
  • 2.4.4-p8

Solution

Upgrade to versions 2.4.4-p8, 2.4.5-p7, 2.4.6-p5, 2.4.7 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-20759.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Wed, 14 May 2025 12:16:10 +0000.