CVE-2019-7942
Magento · CVE-2019-7942
A remote code execution vulnerability exists in Magento 2.1 prior to 2.1.18, Magento 2.2 prior to 2.2.9, Magento 2.3 prior to 2.3.2. An authenticated user with admin privileges to create or edit a product can execute arbitrary code via malicious XML layout updates.
Exposure status: unknown. This page does not establish whether an installed system is affected or corrected.
Severity and exploitation evidence
EPSS: 1.921% · 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-19T19:48:17.831Z. Public exploit availability is not used to set this status.
Verification by field
| Field | Status | Checked at (UTC) | Source |
|---|---|---|---|
| kev | verified | 2026-11-19T19:48:17.831Z | CISA KEV |
| cvss | unknown | unknown | unknown |
| epss | verified | 2026-11-19T19:06:04.505Z | FIRST EPSS |
| patches | verified | 2026-11-19T19:03:27.480Z | OSV |
| affected | verified | 2026-11-19T19:04:28.621Z | CVE Program |
| lifecycle | verified | 2026-11-19T19:04:28.621Z | CVE Program |
Affected versions and configuration
n/a Magento 2; default status: unknown: Magento 2.1 prior to 2.1.18, Magento 2.2 prior to 2.2.9, Magento 2.3 prior to 2.3.2 [affected; scheme: unspecified]
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": "n/a",
"product": "Magento 2",
"versions": [
{
"status": "affected",
"version": "Magento 2.1 prior to 2.1.18, Magento 2.2 prior to 2.2.9, Magento 2.3 prior to 2.3.2"
}
]
}
],
"additionalContainers": [
{
"title": "CVE Program Container",
"references": [
{
"url": "https://magento.com/security/patches/magento-2.3.2-2.2.9-and-2.1.18-security-update-13",
"tags": [
"x_refsource_CONFIRM",
"x_transferred"
]
}
],
"providerMetadata": {
"orgId": "af854a3a-2127-422b-91ae-364da2661108",
"shortName": "CVE",
"dateUpdated": "2024-08-04T21:02:19.368Z"
}
}
]
}Archived source JSONOSV · osv · full conditions
{
"id": "GHSA-vvf9-fxhv-4rgj",
"aliases": [
"CVE-2019-7942"
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "2.1.0"
},
{
"fixed": "2.1.18"
}
]
}
],
"package": {
"name": "magento/community-edition",
"purl": "pkg:composer/magento/community-edition",
"ecosystem": "Packagist"
},
"versions": [
"2.1.0",
"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.2",
"2.1.3",
"2.1.4",
"2.1.5",
"2.1.6",
"2.1.7",
"2.1.8",
"2.1.9"
],
"database_specific": {
"source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-vvf9-fxhv-4rgj/GHSA-vvf9-fxhv-4rgj.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "2.2.0"
},
{
"fixed": "2.2.9"
}
]
}
],
"package": {
"name": "magento/community-edition",
"purl": "pkg:composer/magento/community-edition",
"ecosystem": "Packagist"
},
"versions": [
"2.2.0",
"2.2.1",
"2.2.2",
"2.2.3",
"2.2.4",
"2.2.5",
"2.2.6",
"2.2.7",
"2.2.8"
],
"database_specific": {
"source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-vvf9-fxhv-4rgj/GHSA-vvf9-fxhv-4rgj.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "2.3.0"
},
{
"fixed": "2.3.2"
}
]
}
],
"package": {
"name": "magento/community-edition",
"purl": "pkg:composer/magento/community-edition",
"ecosystem": "Packagist"
},
"versions": [
"2.3.0",
"2.3.1"
],
"database_specific": {
"source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-vvf9-fxhv-4rgj/GHSA-vvf9-fxhv-4rgj.json"
}
}
],
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.0/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-2019-7942",
"type": "ADVISORY"
},
{
"url": "https://github.com/FriendsOfPHP/security-advisories/blob/master/magento/product-community-edition/CVE-2019-7942.yaml",
"type": "WEB"
},
{
"url": "https://github.com/magento/magento2",
"type": "PACKAGE"
},
{
"url": "https://magento.com/security/patches/magento-2.3.2-2.2.9-and-2.1.18-security-update-13",
"type": "WEB"
},
{
"url": "https://web.archive.org/web/20211206084839/https://magento.com/security/patches/magento-2.3.2-2.2.9-and-2.1.18-security-update-13",
"type": "WEB"
}
],
"relatedGitRanges": [],
"database_specific": {
"cwe_ids": [
"CWE-94"
],
"severity": "HIGH",
"github_reviewed": true,
"nvd_published_at": "2019-08-02T22:15:00Z",
"github_reviewed_at": "2023-07-14T23:20:20Z"
}
}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.1.18 | Official record |
| ecosystem-boundary | Packagist / package | magento/community-edition | Not a distribution channel | 2.2.9 | Official record |
| ecosystem-boundary | Packagist / package | magento/community-edition | Not a distribution channel | 2.3.2 | 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:28.621ZArchived source JSON
Source publication: 2019-08-02T21:34:07.000Z
Source modification: 2024-08-04T21:02:19.368ZDocument fingerprint
318a6b4837ae657ca6c827a473b63e5018e837214ded977a8fcafe8632645bcd - CISA KEVConsulted: 2026-11-19T19:48:17.831ZArchived source JSON
Source publication: not supplied
Source modification: 2026-11-18T19:17:41.0354ZDocument fingerprint
a35fdc67c7d9802988dcfc1d3ff1198da327948d1db122ab7692ac201055ac56 - FIRST EPSSConsulted: 2026-11-19T19:06:04.505ZArchived source JSON
Source publication: not supplied
Source modification: not suppliedDocument fingerprint
87780465e017790f08e21015340ea24fb28dd64bc94845641684f402a90885fd - OSVConsulted: 2026-11-19T19:03:27.480ZArchived source JSON
Source publication: 2022-05-24T16:52:28.000Z
Source modification: 2024-02-16T08:19:48.510ZDocument fingerprint
ce3bc90ca96b3ea4595b6c6d22f059656fa358a4b32fc856e31316bcb8fbdaf4
Official status history
- UNKNOWN → PUBLISHED · · evidence