Skip to content
Heist/ feed
Back to feed
High

Security advisory

Type: advisorySources: OSVCVE: CVE-2019-7896

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 administrator privileges to layouts can execute arbitrary code through a combination of product import, crafted csv file and XML layout update.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2019-7896
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 04:37 UTC · Revision 1

Source evidence

CVE-2019-7896

core-osv · Original source

Published 2 Aug 2019, 22:15 UTC

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 administrator privileges to layouts can execute arbitrary code through a combination of product import, crafted csv file and XML layout update.

osv:CVE-2019-7896
Complete source record
{
  "id": "5a81c85a61af4281878c009a6ea655b6b7e76fa262e44b6ff742ede5b0ca355c",
  "url": "https://osv.dev/vulnerability/CVE-2019-7896",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2019-7896",
    "summary": "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 administrator privileges to layouts can execute arbitrary code through a combination of product import, crafted csv file and XML layout update.",
    "evidence": "osv:CVE-2019-7896",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2019-7896",
      "aliases": [
        "CVE-2019-7896",
        "GHSA-2x55-mg9r-24f7"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/magento/devdocs",
              "type": "GIT",
              "events": [
                {
                  "introduced": "60523b1194f96e18c94c82b5515b0274b30e2151"
                },
                {
                  "fixed": "452b21aa6d3a221b587ca32d2d50785d92dd6aa1"
                },
                {
                  "introduced": "239bfc72e116f6814ff6c2f6731f0830f3bcf61c"
                },
                {
                  "fixed": "452b21aa6d3a221b587ca32d2d50785d92dd6aa1"
                },
                {
                  "introduced": "75da24b3b0fb950648d00e7454dae0bb7da64c30"
                },
                {
                  "fixed": "452b21aa6d3a221b587ca32d2d50785d92dd6aa1"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:magento:magento:*:*:*:*:open_source:*:*:*",
                    "range": [
                      {
                        "introduced": "2.1.0"
                      },
                      {
                        "fixed": "2.1.18"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:magento:magento:*:*:*:*:open_source:*:*:*",
                    "range": [
                      {
                        "introduced": "2.2.0"
                      },
                      {
                        "fixed": "2.2.9"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:magento:magento:*:*:*:*:open_source:*:*:*",
                    "range": [
                      {
                        "introduced": "2.3.0"
                      },
                      {
                        "fixed": "2.3.2"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "2.3.0",
            "2.2.7",
            "2.1.16",
            "2.3.1",
            "2.2.8",
            "2.1.17"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2019-7896.json"
          }
        },
        {
          "ranges": [
            {
              "repo": "https://github.com/magento/magento2",
              "type": "GIT",
              "events": [
                {
                  "introduced": "909a2d7e8c2ac5ca55359827c22cea93fdb719df"
                },
                {
                  "fixed": "b808e00f4ad6fb33d5622171a88eb68877ae318d"
                },
                {
                  "introduced": "07465f8ce879ff0bd0ba72a662c9e2473e49afe4"
                },
                {
                  "fixed": "0a1a283cd6a0cf4b98a051867f90150c9490fcec"
                },
                {
                  "introduced": "f4c1d7526f05bdfb1327b0701cc345f94aadcaed"
                },
                {
                  "fixed": "ddf42caaf25311f10b23b95a92746f99943e045e"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:magento:magento:*:*:*:*:open_source:*:*:*",
                    "range": [
                      {
                        "introduced": "2.1.0"
                      },
                      {
                        "fixed": "2.1.18"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:magento:magento:*:*:*:*:open_source:*:*:*",
                    "range": [
                      {
                        "introduced": "2.2.0"
                      },
                      {
                        "fixed": "2.2.9"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:magento:magento:*:*:*:*:open_source:*:*:*",
                    "range": [
                      {
                        "introduced": "2.3.0"
                      },
                      {
                        "fixed": "2.3.2"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "2.3.1",
            "2.3.0",
            "2.2.0-rc2.2",
            "2.2.0-rc2.3",
            "2.2.0-rc2.1",
            "2.2.0-rc2.0",
            "2.2.0-RC1.8",
            "2.2.0-RC1.6",
            "2.2.0-RC1.3",
            "2.2.0-RC1.5",
            "2.2.0-RC1.4",
            "2.2.0-RC1.2",
            "2.1.5",
            "2.2.0-RC1.1",
            "2.1.6",
            "2.1.4",
            "2.1.2",
            "2.1.1",
            "2.1.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2019-7896.json"
          }
        }
      ],
      "modified": "2026-10-24T10:30:20.892082962Z",
      "provider": "osv",
      "references": [
        "https://magento.com/security/patches/magento-2.3.2-2.2.9-and-2.1.18-security-update-13"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2019-7896",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 430369,
  "published_at": "2019-08-02T22:15:17.16+00:00"
}