CVE-2021-21023
MEDIUM4.8EPSS 3.8%Magento Commerce Stored Cross Site Scripting Vulnerability Could Lead To Arbitrary Code Execution
Published: 5/24/2022Modified: 3/20/2026
Description
Magento versions 2.4.1 (and earlier), 2.4.0 (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.
Affected packages (3)
- Bitnami/magentofrom 0, < 2.3.6, >= 2.4.0, < 2.4.1
- Packagist/magento/community-editionfrom 0, < 2.3.6
- Packagist/magento/project-community-editionfrom 0, <= 2.0.2
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM4.8 | CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N |