VDB
Sign up
CRITICAL9.8

GHSA-8p5c-f836-m4h7

Magento 2 Community Edition XML Injection

Quick fix

GHSA-8p5c-f836-m4h7 — magento/community-edition: upgrade to the fixed version with the command below.

composer require magento/community-edition:^2.2.10

Details

An XPath entity injection vulnerability exists in Magento 2.2 prior to 2.2.10, Magento 2.3 prior to 2.3.3 or 2.3.2-p1. An attacker can craft a GET request to page cache block rendering module that gets passed to XML data processing engine without validation. The crafted key/value GET request data allows an attacker to limited access to underlying XML data.

As per [the Magento Release 2.3.3](https://web.archive.org/web/20201126132230/https://devdocs.magento.com/guides/v2.3/release-notes/release-notes-2-3-3-commerce.html#new-security-only-patch-available), if you have already implemented the pre-release version of this patch (2.3.2-p1), it is highly recommended to promptly upgrade to 2.3.2-p2.

Are you affected?

Enter the version of the package you're using.

Affected packages

Packagist/magento/community-edition
Introduced in: 2.2.0Fixed in: 2.2.10
Fixcomposer require magento/community-edition:^2.2.10
Packagist/magento/community-edition
Introduced in: 2.3.0Fixed in: 2.3.2-p2
Fixcomposer require magento/community-edition:^2.3.2-p2

References