CVE-2021-21025
mediumpriority · track · 27EPSS 0.033 · 88 %ileEURUUSEPSS · scored 2026-10-27
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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · medium–critical · 5.5–9.1
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (19)
Products and version ranges known to be affected.
- Packagist magento/project-community-edition≤ 2.0.2osvUSpkg:composer/magento/project-community-edition
advisories (2)
Vendor and ecosystem advisories describing this.
- GHSA-h437-qjj9-vmq4Magento XPath Injection2022-05-24ghsa · osvUS
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.
- BIT-magento-2021-21025Magento Commerce XML Injection Could Lead To Arbitrary Code Execution2024-03-06vendor · osvUS
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.
also known as (6)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (6)
External citations — patches, advisories, analysis.
- https://helpx.adobe.com/security/products/magento/apsb21-08.htmlcnnvd
- https://nvd.nist.gov/vuln/detail/CVE-2021-21025cnnvd
- https://vigilance.fr/vulnerability/Magento-Commerce-OpenSource-multiple-vulnerabilities-34525cnnvd
- https://www.auscert.org.au/bulletins/ESB-2021.0444cnnvd
- https://helpx.adobe.com/security/products/magento/apsb21-08.htmlenisa_euvd
- https://helpx.adobe.com/security/products/magento/apsb21-08.htmlVendor Advisorynvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan