LiveActive security incident?Get immediate response
CVE Record

CVE-2021-21025: Magento Commerce XML Injection 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 XML injection in the product layout updates. Successful exploitation could lead to arbitrary code execution by an authenticated attacker. Access to the admin console is required for successful exploitation.

CriticalCVSS 9.1Not KEV-listedUpdated
Glexia's TakeAutomated analysiscritical

Security readout for executives and security teams

Plain-English summary

CVE-2021-21025 affects Adobe Magento Commerce installations where an authenticated admin can abuse XML injection in product layout updates. If successful, the issue can lead to arbitrary code execution. The business risk is highest where admin accounts are broadly shared, weakly protected, or exposed through internet-accessible admin consoles.

Executive priority

Treat this as urgent for any affected Magento Commerce environment, especially revenue-generating storefronts. The admin-access requirement lowers broad internet scanning risk, but successful exploitation could compromise the application and underlying business operations.

Technical view

The CVE describes CWE-91 XML injection in Magento Commerce product layout updates. A successful attack requires authenticated access to the admin console and can result in arbitrary code execution. The published CVSS v3.0 score is 9.1 with high privilege required, low attack complexity, network attack vector, and high confidentiality, integrity, and availability impact.

Likely exposure

Exposure is limited to Adobe Magento Commerce versions 2.4.1 and earlier, 2.4.0-p1 and earlier, and 2.3.6 and earlier. Systems with reachable admin consoles, weak admin account controls, or compromised admin credentials face the most realistic risk.

Exploitation context

The source bundle does not show CISA KEV listing or cited evidence of active exploitation. Exploitation requires admin console access, so this is more likely after credential compromise, malicious insider activity, or abuse of an overprivileged admin account.

Researcher notes

Evidence is limited to the CVE metadata and Adobe advisory reference in the provided bundle. Do not claim unauthenticated exploitation, affected Magento Open Source versions, or active exploitation from these sources alone. Validate exposure through version inventory and administrator access review.

Mitigation direction

  • Review Adobe APSB21-08 and apply the applicable vendor-supported Magento Commerce security update.
  • Restrict Magento admin console access to trusted networks or VPN paths.
  • Enforce MFA and unique accounts for all Magento administrators.
  • Remove unnecessary admin users and reduce excessive admin privileges.
  • Monitor product layout update activity and unexpected code or configuration changes.

Validation and detection

  • Inventory Magento Commerce instances and confirm exact version numbers.
  • Check whether any instance matches the affected version ranges.
  • Verify the Adobe-recommended security update or replacement version is installed.
  • Review admin account history for unexpected logins or privilege changes.
  • Audit product layout update changes for suspicious or unauthorized modifications.
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 · low confidence lookup

CWE-91: Exact CWE lookup

Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. 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-21025 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
Critical
CVSS
9.1 (3.0)
Known Exploited
No
Published

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

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
9.1CVSS 3.0CriticalCVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H2.36Primary CVE score

Vulnerability scoring details

Base CVSS 3.0 score

9.1Critical
CVSS 3.0 vector shape for CVE-2021-21025Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

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

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-91 · source CWE mapping

XML Injection (aka Blind XPath Injection)

XML Injection (aka Blind XPath Injection) represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.