LiveActive security incident?Get immediate response
CVE Record

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.

MediumCVSS 4.8Not KEV-listedUpdated
Glexia's TakeAutomated analysismoderate

Security readout for executives and security teams

Plain-English summary

CVE-2021-21023 is a stored cross-site scripting flaw in the Magento Commerce admin console. An attacker needs admin-console access and a victim must interact with the affected content. Successful exploitation could run attacker-controlled JavaScript in the victim's browser, creating confidentiality and integrity risk without evidence of availability impact.

Executive priority

Treat this as a moderate-priority maintenance and access-governance issue. It is not cited as actively exploited, but affected Magento admin environments should be updated because compromise of an administrator browser session can affect ecommerce operations and sensitive management workflows.

Technical view

Adobe Magento Commerce 2.4.1 and earlier, 2.4.0-p1 and earlier, and 2.3.6 and earlier contain CWE-79 stored XSS in the admin console. CVSS 3.0 is 4.8 with network attack vector, low complexity, high privileges required, user interaction required, changed scope, and low confidentiality/integrity impact.

Likely exposure

Exposure is limited to organizations running affected Magento Commerce versions where users have admin-console access. Risk is higher if admin accounts are broadly assigned, weakly governed, or accessible from untrusted networks. Public storefront visitors are not described as the required entry point in the supplied sources.

Exploitation context

The supplied sources do not report active exploitation, and the CVE is not marked KEV. Exploitation requires access to the Magento admin console and victim interaction. The described outcome is arbitrary JavaScript execution in the victim's browser, not confirmed server-side code execution.

Researcher notes

Evidence supports stored XSS in the admin console with PR:H and UI:R. The provided bundle does not include exploit details, proof-of-concept status, or specific fixed version text. Avoid assuming server compromise; the stated impact is arbitrary JavaScript execution in a victim browser.

Mitigation direction

  • Review Adobe APSB21-08 and apply the vendor-recommended Magento Commerce security update.
  • Limit Magento admin-console access to trusted administrators and approved networks.
  • Audit admin users and remove unnecessary privileged accounts.
  • Monitor for unexpected admin-console content changes or suspicious administrator activity.

Validation and detection

  • Identify all Magento Commerce deployments and record their exact versions.
  • Compare versions against 2.4.1, 2.4.0-p1, and 2.3.6 affected thresholds.
  • Confirm remediation status against Adobe APSB21-08 guidance.
  • Review admin-console access paths, administrator roles, and recent admin activity.
Prepared
Confidence
high
Sources
3

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cwe · medium confidence lookup

CWE-79: User-session and phishing behavior lookup

Client-side and session-facing weaknesses should be reviewed alongside initial-access and user-execution behaviors. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
description · low confidence lookup

Execution behavior lookup

The CVE wording references code or command execution, so execution technique review may help defensive triage. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2021-21023 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
Medium
CVSS
4.8 (3.0)
Known Exploited
No
Published

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

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

1CVSS vectors
0Timeline events
0ADP providers
2Source links

CVSS vector scores

1 official score

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
4.8CVSS 3.0MediumCVSS:3.0/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N1.72.7Primary CVE score

Vulnerability scoring details

Base CVSS 3.0 score

4.8Medium
CVSS 3.0 vector shape for CVE-2021-21023Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

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

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Privileges Required
NoneLowHigh
User Interaction
NoneRequired
Scope
ChangedUnchanged
Confidentiality Impact
HighLowNone
Integrity Impact
HighLowNone
Availability Impact
HighLowNone

Source materials

Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
AdobeMagento Commerceunspecified, unspecified, unspecified, unspecifiedListed
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.

CWE-79 · source CWE mapping

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.