LiveActive security incident?Get immediate response
CVE Record

CVE-2021-21030: Magento Commerce Stored Cross-site Scripting Could Lead To Arbitrary Javascript 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 (XSS) in the customer address upload feature. Successful exploitation could lead to arbitrary JavaScript execution in the victim's browser. Exploitation of this issue requires user interaction.

HighCVSS 8.1Not KEV-listedUpdated
Glexia's TakeAutomated analysishigh

Security readout for executives and security teams

Plain-English summary

CVE-2021-21030 is a high-severity stored cross-site scripting issue in Magento Commerce. A malicious value uploaded through the customer address feature could later run JavaScript in another user's browser. The business risk is account, session, or data exposure if a trusted user interacts with poisoned content.

Executive priority

Prioritize remediation for affected production commerce sites because stored XSS can compromise customer or staff browser sessions after interaction. Address it in the normal urgent patch cycle unless local evidence shows exposure is absent or the affected feature is disabled.

Technical view

Magento Commerce 2.4.1 and earlier, 2.4.0-p1 and earlier, and 2.3.6 and earlier are affected. The weakness is CWE-79 stored XSS in the customer address upload feature. CVSS is 8.1: network reachable, low complexity, no privileges required, user interaction required, with high confidentiality and integrity impact.

Likely exposure

Exposure is most likely on internet-facing Magento Commerce stores using affected versions and exposing customer address upload workflows. The source bundle does not identify Magento Open Source, cloud variants, plugins, or other products as affected for this CVE.

Exploitation context

The CVE states exploitation requires user interaction. The bundle does not cite CISA KEV listing, active exploitation, public exploit availability, or observed attacks. Treat it as important due to stored execution and high confidentiality and integrity impact, not because exploitation is confirmed.

Researcher notes

Evidence is limited to the CVE record and Adobe advisory reference. Do not assume affected extensions, exploit chains, or active exploitation from this bundle. Validation should focus on version inventory, feature exposure, stored input review, and confirmation against Adobe APSB21-08.

Mitigation direction

  • Inventory Magento Commerce deployments and confirm exact version numbers.
  • Review Adobe APSB21-08 and apply vendor-supported fixes or mitigations.
  • Prioritize affected public stores and administrative workflows handling customer address uploads.
  • Temporarily reduce access to exposed upload workflows where business operations allow.
  • Monitor for suspicious stored content or unexpected browser script behavior.

Validation and detection

  • Compare deployed versions against 2.4.1, 2.4.0-p1, and 2.3.6 affected ranges.
  • Confirm whether customer address upload functionality is enabled or externally reachable.
  • Review application records and logs for suspicious address upload content.
  • After remediation, verify the vendor advisory no longer lists the deployed version as affected.
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
cve · low confidence lookup

CVE-2021-21030 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
High
CVSS
8.1 (3.0)
Known Exploited
No
Published

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/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
8.1CVSS 3.0HighCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N2.85.2Primary CVE score

Vulnerability scoring details

Base CVSS 3.0 score

8.1High
CVSS 3.0 vector shape for CVE-2021-21030Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/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.