Home / Adobe / Magento Commerce / CVE-2021-21023
CVE-2021-21023: is it exploited, and which versions of Adobe Magento Commerce are affected and fixed?
CVE-2021-21023 is a cross-site scripting (XSS) vulnerability in Adobe Magento Commerce. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 14:08 UTC). Affected: magento/community-edition before 2.3.6, magento/community-edition from 2.4.0 before 2.4.1-p1 and magento/project-community-edition through 2.0.2 (GitHub advisory GHSA-h5rm-m772-6qcx). Fixed in 2.3.6 and 2.4.1-p1 (GitHub advisory GHSA-h5rm-m772-6qcx). Severity: Medium (4.8, CVSS 3.0, from adobe).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 14:08 UTC, CVE record November 28, 2026, 20:20 UTC and NVD November 19, 2026, 08:03 UTC.
What is CVE-2021-21023?
Magento Commerce Stored Cross Site Scripting Vulnerability Could Lead To Arbitrary Code Execution
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.
From the CVE record by adobe, last updated September 17, 2024, 03:18 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| Adobe | Magento Commerce | through 2.4.1 through 2.4.0-p1 through 2.3.6 through None |
As the CVE record by adobe states it, last updated September 17, 2024. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| Packagist | magento/community-edition | < 2.3.6 | 2.3.6 | GHSA-h5rm-m772-6qcx |
| Packagist | magento/community-edition | >= 2.4.0, < 2.4.1-p1 | 2.4.1-p1 | GHSA-h5rm-m772-6qcx |
| Packagist | magento/project-community-edition | <= 2.0.2 | none listed | GHSA-h5rm-m772-6qcx |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated February 10, 2025. Summary: Magento stored cross-site scripting vulnerability in the admin console.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| magento | magento | before 2.3.6 | application |
| magento | magento | 2.3.6 | application |
| magento | magento | 2.4.0 | application |
| magento | magento | 2.4.1 | application |
NVD analysis (status Modified), last modified June 17, 2026, 03:34 UTC.
How severe is CVE-2021-21023?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 4.8 | CVSS 3.0 | CVSS:3.0/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N | adobe |
| Low 3.5 | CVSS 2.0 | AV:N/AC:M/Au:S/C:N/I:P/A:N | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2021-21023 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 1.62% probability of exploitation activity in the next 30 days, percentile 76.8 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-79 Improper Neutralization of Input During Web Page Generation
Where are the vendor advisories and references?
- https://helpx.adobe.com/security/products/magento/apsb21-08.html x_refsource_MISC
When was it published, and where is the official record?
- Reserved
- December 18, 2020
- Published
- February 11, 2021, 19:29 UTC
- CVE record updated
- September 17, 2024, 03:18 UTC by adobe
- NVD
- Modified, last modified June 17, 2026, 03:34 UTC
- Last checked
- CVE list November 28, 2026, 20:20 UTC; NVD November 19, 2026, 08:03 UTC; KEV December 3, 2026, 14:08 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Magento Commerce?
- Feb 16, 2022CVE-2022-24086 Adobe Magento Commerce: improper input validation exploited
- Aug 9, 2023CVE-2023-38208 Adobe Magento Commerce: OS command injection
- Aug 9, 2023CVE-2023-38209 Adobe Magento Commerce: incorrect authorization
- Jun 15, 2023CVE-2023-29297 Adobe Magento Commerce: template injection
- Jun 15, 2023CVE-2023-29296 Adobe Magento Commerce: incorrect authorization
- Jun 15, 2023CVE-2023-29295 Adobe Magento Commerce: incorrect authorization
- Jun 15, 2023CVE-2023-29294 Adobe Magento Commerce
- Jun 15, 2023CVE-2023-29292 Adobe Magento Commerce: server-side request forgery (SSRF)
Questions about CVE-2021-21023
Is CVE-2021-21023 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 14:08 UTC. FIRST's EPSS gives it a 1.62% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Adobe Magento Commerce are affected by CVE-2021-21023?
magento/community-edition before 2.3.6, magento/community-edition from 2.4.0 before 2.4.1-p1 and magento/project-community-edition through 2.0.2, per the GitHub advisory GHSA-h5rm-m772-6qcx. The tables above give every range the sources list.
Which version fixes CVE-2021-21023?
2.3.6 and 2.4.1-p1, per the GitHub advisory GHSA-h5rm-m772-6qcx. Check the vendor's advisory before you rely on it.
How severe is CVE-2021-21023?
Medium (4.8, CVSS 3.0, from adobe). The severity table above shows each score with its source.
Where is the official record of CVE-2021-21023?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.