# Magento Open Source affected by an Improper Restriction of XML External Entity Reference ('XXE') vulnerability

Advisory record · `GHSA-m8cj-3v68-3cxj`

- **Identifiers:** `GHSA-m8cj-3v68-3cxj` · `BIT-magento-2024-34102` · `CVE-2024-34102` · `PKSA-71k8-bhfg-zj3d` · `PKSA-db8d-773v-rd1n`
- **State:** Confirmed
- **Severity:** CVSS 9.8 Critical
- **Critical:** Yes: KEV, CVSS 9+, CVSS 7+ and EPSS
- **Weakness (CWE):** [CWE-611](https://cwe.mitre.org/data/definitions/611.html)
- **Tags:** [XML external entities (XXE)](https://agentprime.io/advisories/tag/xxe.md)
- **Published:** 13 Jun 2024
- **Updated:** 17 Jul 2024
- **Reviewed by a person:** No

Published by the GitHub Advisory Database at 13 Jun 2024, 09:31 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

## Critical

Critical, because:

- In CISA’s KEV catalogue since 17 Jul 2024: it is known to be exploited.
- CVSS score 9.8: 9.0 or more.
- CVSS score 9.8 (7.0 or more) and EPSS 1.00 (0.1 or more): a high score and a real chance of exploitation in the next 30 days.

How we decide what’s critical: <https://agentprime.io/advisories/critical.md>

## Affected packages

- `magento/community-edition` (Packagist): affected `=2.4.4 || >=2.4.6-p1, <2.4.6-p6 || >=2.4.5-p1, <2.4.5-p8 || <2.4.4-p9 || =2.4.5 || =2.4.6 || =2.4.7`; fixed in `2.4.6-p6`, `2.4.5-p8`, `2.4.4-p9`

## Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

## Severity and exploitation

- 9.8 Critical, CVSS 3.1: `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`, from CNA (adobe)

- **CISA KEV:** Listed since 17 Jul 2024: known to be exploited.
- **EPSS:** 1.00, the 99th percentile, on 9 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

- 31 Oct 2026, 14:29 UTC: First seen by agentprime
- 31 Oct 2026, 14:29 UTC: [Confirmed by OSV](https://osv.dev/vulnerability/GHSA-m8cj-3v68-3cxj)

## Sources

- [GitHub Advisory Database: GHSA-m8cj-3v68-3cxj](https://github.com/advisories/GHSA-m8cj-3v68-3cxj)
- [OSV: GHSA-m8cj-3v68-3cxj](https://osv.dev/vulnerability/GHSA-m8cj-3v68-3cxj)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-34102>
- <https://github.com/magento/magento2/commit/30877fce83b793f71421c47347885cf076e81799>
- <https://github.com/magento/magento2/commit/a3c6d6e5e95e63031e4df26cfcf76feace7549c2>
- <https://github.com/magento/magento2/commit/c5c538810b87449886f4669cb8abbe8e5593c83c>
- <https://github.com/magento/magento2/commit/d10435b11ada4e502dca7539f8fd31d059d3c482#diff-84a0773a6287fbbaadf3b9103f4a137fc0b6946de2437ddfd6f60a0722cf8d23>
- <https://github.com/FriendsOfPHP/security-advisories/blob/master/magento/product-community-edition/CVE-2024-34102.yaml>
- <https://github.com/magento/magento2>
- <https://helpx.adobe.com/security/products/magento/apsb24-40.html>
- <https://www.vicarius.io/vsociety/posts/cosmicsting-critical-unauthenticated-xxe-vulnerability-in-adobe-commerce-and-magento-cve-2024-34102>

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.

## Check whether this affects you

A Match means an installed version is in the affected range above. Most don’t affect the app; agentprime hasn’t analysed this one yet.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), ask your agent to check the project: `check_lockfile` sends a lockfile, `check_packages` a list of installed packages, and both return the Matches and the upgrades that clear them. `get_advisory` returns this record. Setup: <https://agentprime.io/mcp.md>
- In a browser: <https://agentprime.io/check/> reads your lockfile in the browser, never uploading it.
- Whether it touches your code, with file and line: the Claude Code plugin, <https://agentprime.io/plugin.md>
- As JSON: <https://api.agentprime.io/v1/advisories/GHSA-m8cj-3v68-3cxj>, or `POST https://api.agentprime.io/v1/match` with your packages (<https://agentprime.io/api.md>)

---

The web page: <https://agentprime.io/advisories/GHSA-m8cj-3v68-3cxj/>. Everything for agents: <https://agentprime.io/llms.txt>.
