High
Security advisory
Magento Commerce versions 2.4.2 (and earlier), 2.4.2-p1 (and earlier) and 2.3.7 (and earlier) are affected by an XML Injection vulnerability in the Widgets Update Layout. An attacker with admin privileges can trigger a specially crafted script to achieve remote code execution.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2021-36022
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 04:37 UTC · Revision 1
Source evidence
Magento Commerce versions 2.4.2 (and earlier), 2.4.2-p1 (and earlier) and 2.3.7 (and earlier) are affected by an XML Injection vulnerability in the Widgets Update Layout. An attacker with admin privileges can trigger a specially crafted script to achieve remote code execution.
osv:CVE-2021-36022
Complete source record
{
"id": "92cd7b92439780544a904d888bdd71dae69a30959e40fd5fd96fa88bdb00fde5",
"url": "https://osv.dev/vulnerability/CVE-2021-36022",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2021-36022",
"summary": "Magento Commerce versions 2.4.2 (and earlier), 2.4.2-p1 (and earlier) and 2.3.7 (and earlier) are affected by an XML Injection vulnerability in the Widgets Update Layout. An attacker with admin privileges can trigger a specially crafted script to achieve remote code execution.",
"evidence": "osv:CVE-2021-36022",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2021-36022",
"aliases": [
"CVE-2021-36022",
"GHSA-3x9x-vhqj-cv27"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/magento/magento2",
"type": "GIT",
"events": [
{
"introduced": "f4c1d7526f05bdfb1327b0701cc345f94aadcaed"
},
{
"last_affected": "44a7b6079bcac5ba92040b16f4f74024b4f34d09"
},
{
"introduced": "6729b6e01368248abc33300208eb292c95050203"
},
{
"last_affected": "33242e4b19cf207d7b73f7791ef894b48bb41f8a"
},
{
"introduced": "1bd5cb8c065e44779526c0b044ce19b884707695"
},
{
"last_affected": "1bd5cb8c065e44779526c0b044ce19b884707695"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:adobe:magento_open_source:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "2.3.0"
},
{
"last_affected": "2.3.7"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:adobe:magento_open_source:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "2.4.0"
},
{
"last_affected": "2.4.2"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:adobe:magento_open_source:2.4.2:p1:*:*:*:*:*:*",
"range": [
{
"introduced": "2.4.2-p1"
},
{
"last_affected": "2.4.2-p1"
}
],
"source": "CPE_STRING"
}
]
}
}
],
"versions": [
"2.4.2-p1"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-36022.json"
}
}
],
"modified": "2026-10-24T10:30:21.046569533Z",
"provider": "osv",
"references": [
"https://helpx.adobe.com/security/products/magento/apsb21-64.html"
],
"provider_metadata": {
"unresolved_ranges": [
{
"cpes": [
"cpe:2.3:a:adobe:adobe_commerce:*:*:*:*:*:*:*:*"
],
"vendor_product": "adobe:adobe_commerce",
"extracted_events": [
{
"range": [
{
"introduced": "2.3.0"
},
{
"last_affected": "2.3.7"
},
{
"introduced": "2.4.0"
},
{
"last_affected": "2.4.2"
}
],
"source": "CPE_RANGE"
}
]
},
{
"cpes": [
"cpe:2.3:a:adobe:adobe_commerce:2.4.2:p1:*:*:*:*:*:*"
],
"vendor_product": "adobe:adobe_commerce",
"extracted_events": [
{
"range": [
{
"introduced": "2.4.2-p1"
},
{
"last_affected": "2.4.2-p1"
}
],
"source": "CPE_STRING"
}
]
}
]
}
},
"related_cves": [
{
"value": "CVE-2021-36022",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 430408,
"published_at": "2021-09-01T15:15:09.15+00:00"
}