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

CVE-2021-21023: Magento stored cross-site scripting vulnerability in the admin console

May 24, 2022 (updated February 10, 2025)

Magento versions 2.4.1 (and earlier), 2.4.0-p1 (and earlier) and 2.3.6 (and earlier) are vulnerable to a stored cross-site scripting vulnerability in the admin console. Successful exploitation could lead to arbitrary JavaScript execution in the victim’s browser. Access to the admin console is required for successful exploitation.

References

  • github.com/advisories/GHSA-h5rm-m772-6qcx
  • github.com/magento/magento2
  • helpx.adobe.com/security/products/magento/apsb21-08.html
  • nvd.nist.gov/vuln/detail/CVE-2021-21023

Code Behaviors & Features

Detect and mitigate CVE-2021-21023 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 up to 2.0.2

Solution

Unfortunately, there is no solution available yet.

Impact 4.8 MEDIUM

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

Learn more about CVSS

Weakness

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

Source file

packagist/magento/project-community-edition/CVE-2021-21023.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Wed, 14 May 2025 12:15:53 +0000.