CVE-2021-21025
JSON

9.1critical

Magento Commerce XML Injection Could Lead To Arbitrary Code Execution

Severity
9.1critical CVSS:3.0 by adobe
Exploit likelihood
3.21% (higher than 88% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
adobe
Also known as
GHSA-h437-qjj9-vmq4BIT-MAGENTO-2021-21025

Description

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.

Affected

Product or packageVersionsReported by
Adobe Magento Commercefrom 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 NoneCVE List
magento/community-edition (Packagist)before 2.3.6-p1, from 2.4.0 before 2.4.1-p1GitHub Advisory Database
magento/project-community-edition (Packagist)up to 2.0.2GitHub Advisory Database
magento magentobefore 2.3.6, 2.3.6, 2.4.0, 2.4.1NVD
magento (Bitnami)before 2.3.6, from 2.4.0 before 2.4.1Bitnami Vulnerability Database

All scores

adobe9.1critical CVSS:3.0CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
GitHub9.1critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
NVD6.5medium CVSS:2.0AV:N/AC:L/Au:S/C:P/I:P/A:P
Bitnami Vulnerability Databasecritical rating

Classification

What each source says

CVE List

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.

NVD (es)

Magento versiones 2.4.1 (y anteriores), versiones 2.4.0-p1 (y anteriores) y versiones 2.3.6 (y anteriores), son vulnerables a una inyección de XML en las actualizaciones de diseño del producto. Una explotación con éxito podría conllevar a una ejecución de código arbitraria por parte de un atacante autenticado. Es requerido un acceso a la consola de administración para una explotación con éxito

Bitnami Vulnerability Database

Magento versions 2.4.1 (and earlier), 2.4.0 (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.

References

Sources

SourceRecordLicence
CVE ListCVE-2021-21025 changed 2024-09-16CVE Terms of Use
GitHub Advisory DatabaseGHSA-h437-qjj9-vmq4 changed 2025-02-10CC-BY-4.0
NVDCVE-2021-21025 changed 2026-06-17Public domain
Bitnami Vulnerability DatabaseBIT-MAGENTO-2021-21025 changed 2026-09-08Apache-2.0