# CVE-2021-21023: Magento Commerce Stored Cross Site Scripting Vulnerability Could Lead To Arbitrary Code Execution

- Severity: Medium 4.8 (CVSS:3.0, scored by adobe) `CVSS:3.0/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.62%, higher than 76% of CVEs (2026-11-30)
- Published: 2021-02-11T19:29:31.477Z
- Modified: 2026-09-08T08:48:09.756Z
- Also known as: GHSA-h5rm-m772-6qcx, BIT-MAGENTO-2021-21023
- Weaknesses: CWE-79
- Assigned by: adobe

## Description

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.

(As written by CVE List.)

## Affected

- Adobe Magento Commerce: from unspecified up to 2.4.1; from unspecified up to 2.4.0-p1; from unspecified up to 2.3.6; from unspecified up to None
- magento/community-edition (Packagist): before 2.3.6; from 2.4.0 before 2.4.1-p1
- magento/project-community-edition (Packagist): up to 2.0.2
- magento magento: before 2.3.6; 2.3.6; 2.4.0; 2.4.1
- magento (Bitnami): before 2.3.6; from 2.4.0 before 2.4.1

## Every score

- adobe: CVSS:3.0 4.8 Medium `CVSS:3.0/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N`
- GitHub: CVSS:3.1 4.8 Medium `CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:2.0 3.5 Low `AV:N/AC:M/Au:S/C:N/I:P/A:N`
- Bitnami Vulnerability Database: rating Medium

## References

- <https://helpx.adobe.com/security/products/magento/apsb21-08.html> (advisory, vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-21023> (advisory, web)
- <https://github.com/magento/magento2> (package)

## Sources

- CVE List: [CVE-2021-21023](https://www.cve.org/CVERecord?id=CVE-2021-21023), CVE Terms of Use, modified 2024-09-17
- GitHub Advisory Database: [GHSA-h5rm-m772-6qcx](https://github.com/advisories/GHSA-h5rm-m772-6qcx), CC-BY-4.0, modified 2025-02-10
- NVD: [CVE-2021-21023](https://nvd.nist.gov/vuln/detail/CVE-2021-21023), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-MAGENTO-2021-21023](https://osv.dev/vulnerability/BIT-MAGENTO-2021-21023), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2021-21023 · Whole record: https://cve.day/CVE-2021-21023.json · Rebuilt by cve.day 2026-11-25T22:57:59.913Z
