CVE-2021-36022
Magento Commerce Widgets Update Layout XML Injection Vulnerability Could Lead To Remote Code Execution
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.
Exposure status: unknown. This page does not establish whether an installed system is affected or corrected.
Severity and exploitation evidence
EPSS: 3.242% · score date 2026-11-19. EPSS is an estimated probability over the next 30 days, not proof of exploitation.
CISA KEV: not included in the checked catalog; exploitation may still occur. Last checked: 2026-11-19T20:18:55.078Z. Public exploit availability is not used to set this status.
CVSS 3.1 · 9.1 · published by adobeCVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
Assessment source · checked 2026-11-19T19:04:45.733Z
Verification by field
| Field | Status | Checked at (UTC) | Source |
|---|---|---|---|
| kev | verified | 2026-11-19T20:18:55.078Z | CISA KEV |
| cvss | verified | 2026-11-19T19:04:45.733Z | CVE Program |
| epss | verified | 2026-11-19T20:07:52.638Z | FIRST EPSS |
| patches | verified | 2026-11-19T19:03:27.480Z | OSV |
| affected | verified | 2026-11-19T19:04:45.733Z | CVE Program |
| lifecycle | verified | 2026-11-19T19:04:45.733Z | CVE Program |
Affected versions and configuration
Adobe Magento Commerce; default status: unknown: unspecified to ≤ 2.4.2 [affected; scheme: custom]; unspecified to ≤ 2.4.2-p1 [affected; scheme: custom]; unspecified to ≤ 2.3.7 [affected; scheme: custom]; unspecified to ≤ None [affected; scheme: custom]
Defaults, conditional configuration, package status and version schemes are retained below. A version range alone is not an exposure verdict.
CVE Program · cve-json · full conditions
{
"affected": [
{
"vendor": "Adobe",
"product": "Magento Commerce",
"versions": [
{
"status": "affected",
"version": "unspecified",
"versionType": "custom",
"lessThanOrEqual": "2.4.2"
},
{
"status": "affected",
"version": "unspecified",
"versionType": "custom",
"lessThanOrEqual": "2.4.2-p1"
},
{
"status": "affected",
"version": "unspecified",
"versionType": "custom",
"lessThanOrEqual": "2.3.7"
},
{
"status": "affected",
"version": "unspecified",
"versionType": "custom",
"lessThanOrEqual": "None"
}
]
}
],
"additionalContainers": [
{
"title": "CVE Program Container",
"references": [
{
"url": "https://helpx.adobe.com/security/products/magento/apsb21-64.html",
"tags": [
"x_refsource_MISC",
"x_transferred"
]
}
],
"providerMetadata": {
"orgId": "af854a3a-2127-422b-91ae-364da2661108",
"shortName": "CVE",
"dateUpdated": "2024-08-04T00:47:43.513Z"
}
}
]
}Archived source JSONOSV · osv · full conditions
{
"id": "GHSA-3x9x-vhqj-cv27",
"aliases": [
"CVE-2021-36022"
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "2.3.7-p1"
}
]
}
],
"package": {
"name": "magento/community-edition",
"purl": "pkg:composer/magento/community-edition",
"ecosystem": "Packagist"
},
"versions": [
"0.1.0-alpha100",
"0.1.0-alpha101",
"0.1.0-alpha102",
"0.1.0-alpha103",
"0.1.0-alpha104",
"0.1.0-alpha105",
"0.1.0-alpha106",
"0.1.0-alpha107",
"0.1.0-alpha108",
"0.1.0-alpha89",
"0.1.0-alpha90",
"0.1.0-alpha91",
"0.1.0-alpha92",
"0.1.0-alpha93",
"0.1.0-alpha94",
"0.1.0-alpha95",
"0.1.0-alpha96",
"0.1.0-alpha97",
"0.1.0-alpha98",
"0.1.0-alpha99",
"0.42.0-beta1",
"0.42.0-beta10",
"0.42.0-beta11",
"0.42.0-beta2",
"0.42.0-beta3",
"0.42.0-beta4",
"0.42.0-beta5",
"0.42.0-beta6",
"0.42.0-beta7",
"0.42.0-beta8",
"0.42.0-beta9",
"0.74.0-beta1",
"0.74.0-beta10",
"0.74.0-beta11",
"0.74.0-beta12",
"0.74.0-beta13",
"0.74.0-beta14",
"0.74.0-beta15",
"0.74.0-beta16",
"0.74.0-beta2",
"0.74.0-beta3",
"0.74.0-beta4",
"0.74.0-beta5",
"0.74.0-beta6",
"0.74.0-beta7",
"0.74.0-beta8",
"0.74.0-beta9",
"1.0.0-beta",
"1.0.0-beta2",
"1.0.0-beta3",
"1.0.0-beta4",
"1.0.0-beta5",
"1.0.0-beta6",
"2.0.0",
"2.0.0-rc",
"2.0.0-rc2",
"2.0.1",
"2.0.10",
"2.0.11",
"2.0.12",
"2.0.13",
"2.0.14",
"2.0.15",
"2.0.16",
"2.0.17",
"2.0.18",
"2.0.2",
"2.0.3",
"2.0.4",
"2.0.5",
"2.0.6",
"2.0.7",
"2.0.8",
"2.0.9",
"2.1.0",
"2.1.0-rc1",
"2.1.0-rc2",
"2.1.0-rc3",
"2.1.1",
"2.1.10",
"2.1.11",
"2.1.12",
"2.1.13",
"2.1.14",
"2.1.15",
"2.1.16",
"2.1.17",
"2.1.18",
"2.1.2",
"2.1.3",
"2.1.4",
"2.1.5",
"2.1.6",
"2.1.7",
"2.1.8",
"2.1.9",
"2.2.0",
"2.2.1",
"2.2.10",
"2.2.11",
"2.2.2",
"2.2.3",
"2.2.4",
"2.2.5",
"2.2.6",
"2.2.7",
"2.2.8",
"2.2.9",
"2.3.0",
"2.3.1",
"2.3.2",
"2.3.2-p2",
"2.3.3",
"2.3.3-p1",
"2.3.4",
"2.3.4-p2",
"2.3.5",
"2.3.5-p1",
"2.3.5-p2",
"2.3.6",
"2.3.6-p1",
"2.3.7"
],
"database_specific": {
"source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-3x9x-vhqj-cv27/GHSA-3x9x-vhqj-cv27.json"
}
},
{
"ranges": [],
"package": {
"name": "magento/community-edition",
"purl": "pkg:composer/magento/community-edition",
"ecosystem": "Packagist"
},
"versions": [
"2.3.7"
],
"database_specific": {
"source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-3x9x-vhqj-cv27/GHSA-3x9x-vhqj-cv27.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "2.4.2-p1"
},
{
"fixed": "2.4.2-p2"
}
]
}
],
"package": {
"name": "magento/community-edition",
"purl": "pkg:composer/magento/community-edition",
"ecosystem": "Packagist"
},
"versions": [
"2.4.2-p1"
],
"database_specific": {
"source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-3x9x-vhqj-cv27/GHSA-3x9x-vhqj-cv27.json"
}
},
{
"ranges": [],
"package": {
"name": "magento/community-edition",
"purl": "pkg:composer/magento/community-edition",
"ecosystem": "Packagist"
},
"versions": [
"2.4.2"
],
"database_specific": {
"source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-3x9x-vhqj-cv27/GHSA-3x9x-vhqj-cv27.json"
}
}
],
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H"
}
],
"upstream": [],
"withdrawn": null,
"references": [
{
"url": "https://nvd.nist.gov/vuln/detail/CVE-2021-36022",
"type": "ADVISORY"
},
{
"url": "https://github.com/magento/magento2",
"type": "PACKAGE"
},
{
"url": "https://helpx.adobe.com/security/products/magento/apsb21-64.html",
"type": "WEB"
}
],
"relatedGitRanges": [],
"database_specific": {
"cwe_ids": [
"CWE-74",
"CWE-78",
"CWE-91"
],
"severity": "HIGH",
"github_reviewed": true,
"nvd_published_at": "2021-09-01T15:15:00Z",
"github_reviewed_at": "2025-11-06T23:37:58Z"
}
}Archived source JSONCorrection evidence
Distribution packages and upstream releases are distinct. ESM channels may require the corresponding Ubuntu entitlement. Notes and branch ranges are not installable package versions. OSV fixed boundaries are ecosystem-specific version thresholds, not proof that a package is currently available or installed.
| Evidence type | Distribution / release | Package | Channel | Version or source note | Source |
|---|---|---|---|---|---|
| ecosystem-boundary | Packagist / package | magento/community-edition | Not a distribution channel | 2.3.7-p1 | Official record |
| ecosystem-boundary | Packagist / package | magento/community-edition | Not a distribution channel | 2.4.2-p2 | Official record |
Vendor notices and operational guidance
No connected vendor notice is available for this record.
Original sources and dates
- CVE ProgramConsulted: 2026-11-19T19:04:45.733ZArchived source JSON
Source publication: 2021-09-01T14:28:37.462Z
Source modification: 2024-09-16T17:38:47.842ZDocument fingerprint
617eee44db1ee0c9d02204046f3969490170192c4aa79576bfbcb760da3ea670 - FIRST EPSSConsulted: 2026-11-19T20:07:52.638ZArchived source JSON
Source publication: not supplied
Source modification: not suppliedDocument fingerprint
03da1dcc43d0d9d5ddce1a395285dbbbe8764d3b49802d9ca67fbb352e69cc93 - CISA KEVConsulted: 2026-11-19T20:18:55.078ZArchived source JSON
Source publication: not supplied
Source modification: 2026-11-18T19:17:41.0354ZDocument fingerprint
a35fdc67c7d9802988dcfc1d3ff1198da327948d1db122ab7692ac201055ac56 - OSVConsulted: 2026-11-19T19:03:27.480ZArchived source JSON
Source publication: 2022-05-24T19:12:48.000Z
Source modification: 2025-11-06T23:59:50.065ZDocument fingerprint
ce3bc90ca96b3ea4595b6c6d22f059656fa358a4b32fc856e31316bcb8fbdaf4
Official status history
- UNKNOWN → PUBLISHED · · evidence