# CVE-2024-34102: Magento Open Source affected by an Improper Restriction of XML External Entity Reference ('XXE') vulnerability

Source: https://junglewise.ai/threats/cve-2024-34102-adobe-commerce-and-magento-open-source-improper-restriction-of  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2024-06-13. Updated: 2026-05-09  
License: CC BY 4.0 with a link back

CVE-2024-34102 · Severity: critical · CVSS 3.1 · Exploited in the wild · Published 2024-06-13

Adobe Commerce and Magento Open Source are vulnerable to an Improper Restriction of XML External Entity Reference (XXE). An unauthenticated remote attacker can exploit this by sending crafted XML documents to achieve arbitrary code execution without user interaction.

Technologies: [Adobe Commerce](https://junglewise.ai/threats/technologies/commerce), [Adobe Magento Open Source](https://junglewise.ai/threats/technologies/magento-open-source), [magento/community-edition (Packagist)](https://junglewise.ai/threats/technologies/packagist-magento-community-edition). Vendors: [Adobe](https://junglewise.ai/threats/vendors/adobe), [Packagist](https://junglewise.ai/threats/vendors/packagist).

## Quick answers

**Is CVE-2024-34102 exploited in the wild?** Yes. CVE-2024-34102 is known to be exploited in the wild, first recorded on 17 July 2024. Treat it as urgent.

**How severe is CVE-2024-34102?** Critical severity, with a CVSS score of 3.1, published 13 June 2024.

**Which products and versions are affected?** magento/community-edition (Packagist) ECOSYSTEM:introduced=2.4.6-p1,fixed=2.4.6-p6.

**Is there a fix for CVE-2024-34102?** Yes. magento/community-edition (Packagist): upgrade to 2.4.6-p6 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**How is CVE-2024-34102 attacked?** It is attacked over the network, in a web application.

**Am I affected by CVE-2024-34102?** Check whether you run Adobe Commerce, Adobe Magento Open Source or magento/community-edition (Packagist) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- magento/community-edition (Packagist): upgrade to 2.4.6-p6 or later

  ```sh
  composer require magento/community-edition:^2.4.6-p6
  ```


## Affected products

- Adobe Commerce 2.4.7, 2.4.6-p5, 2.4.5-p7, 2.4.4-p8 and earlier
- Adobe Magento Open Source 2.4.7, 2.4.6-p5, 2.4.5-p7, 2.4.4-p8 and earlier

## Identifiers

- CVE-2024-34102
- GHSA-m8cj-3v68-3cxj

## Timeline

- 2024-07-17: disclosed
- 2024-07-17: kev added: Added to CISA Known Exploited Vulnerabilities Catalog

## Related threats

- [Adobe Commerce improper input validation in file write](https://junglewise.ai/threats/cve-2026-95631-adobe-commerce-is-affected-by-an-improper-input-validation)
- [Adobe Commerce improper input validation in security feature](https://junglewise.ai/threats/cve-2026-95630-adobe-commerce-is-affected-by-an-improper-input-validation)
- [Adobe Commerce stored XSS vulnerability in form fields](https://junglewise.ai/threats/cve-2026-92922-adobe-commerce-is-affected-by-a-stored-cross-site-scripting-xss)
- [Adobe Commerce stored XSS in form fields](https://junglewise.ai/threats/cve-2026-92911-adobe-commerce-is-affected-by-a-stored-cross-site-scripting-xss)
- [Adobe Commerce incorrect authorization security feature bypass](https://junglewise.ai/threats/cve-2026-92910-adobe-commerce-is-affected-by-an-incorrect-authorization)
