CVE-2024-34102: Adobe Commerce and Magento Open Source Improper Restriction of XML External Entity Reference (XXE) Vulnerability
CVE-2024-34102 is a critical-severity flaw (CVSS 9.8) affecting commerce, commerce webhooks, magento, reported as exploited in the wild. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
Adobe Commerce versions 2.4.7, 2.4.6-p5, 2.4.5-p7, 2.4.4-p8 and earlier are affected by an Improper Restriction of XML External Entity Reference ('XXE') vulnerability that could result in arbitrary code execution. An attacker could exploit this vulnerability by sending a crafted XML document that references external entities. Exploitation of this issue does not require user interaction.
Why this priority
- Critical severity
- EPSS top 1%: very likely to be exploited
- Exploited in the wild (CISA KEV)
- Public exploit reference
- CISA SSVC: automatable with total technical impact
- Remotely exploitable, no login, no user action
A fixed release or distro patch exists.
Risk facts
| CVSS score | 9.8 (Critical) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 100.0% (top 1%) |
| CISA exploited list | Yes, fix due 2024-08-07 |
| Weakness | CWE-611 |
| Published | 2024-06-13 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Exploited Added to the CISA Known Exploited Vulnerabilities list
- Deadline CISA due date for US federal agencies to patch
- Updated Record last modified
Exact fixes by distribution
Public exploits and detection
Public code exists for this CVE. Treat unpatched systems as at risk, and only run PoCs in a lab.
- GitHub PoC: Chocapikk/CVE-2024-34102 (48 stars)
- GitHub PoC: bigb0x/CVE-2024-34102 (31 stars)
- GitHub PoC: th3gokul/CVE-2024-34102 (14 stars)
- Write-up: www.vicarius.io/vsociety/posts/cosmicsting-critical-unauthenticated-xxe-vulnerability-in-a
- GitHub PoC: 0x0d3ad/CVE-2024-34102
- Metasploit: Magento XXE Unserialize Arbitrary File Read
- Metasploit: CosmicSting: Magento Arbitrary File Read (CVE-2024-34102) + PHP Buffer Overflow in the iconv() function of glibc (CVE-2024-2961)
- Nuclei scan template: Adobe Commerce & Magento - CosmicSting
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2024-34102?
commerce: downgrade or apply the listed mitigation; commerce webhooks: upgrade to 1.5.0; magento: downgrade or apply the listed mitigation. Exact commands for each OS are on this page.
Is CVE-2024-34102 being exploited?
Yes. CVE-2024-34102 is on the CISA Known Exploited Vulnerabilities list, so treat it as patch-now.
What does CVE-2024-34102 affect?
CVE-2024-34102 affects commerce, commerce webhooks, magento. Severity is critical (CVSS 9.8). Adobe Commerce versions 2.4.7, 2.4.6-p5, 2.4.5-p7, 2.4.4-p8 and earlier are affected by an Improper Restriction of XML External Entity Reference ('XXE') vulnerability that could result in arbitrary code execution. An attacker could exploit
How urgent is CVE-2024-34102?
Priority 97/100. Critical severity; EPSS top 1%: very likely to be exploited; Exploited in the wild (CISA KEV); Public exploit reference; CISA SSVC: automatable with total technical impact; Remotely exploitable, no login, no user action
Software pages
Related CVEs
- CVE-2026-48356 CRITICAL 9.3 EXPLOITED DOWNGRADE DOWNGRADE Adobe Commerce and Magento Unrestricted Upload of File with Dangerous Type Vulnerability
- CVE-2026-34648 HIGH 7.5 UPGRADE UPGRADE Adobe Commerce versions 2.4.9-beta1, 2.4.8-p4, 2.4.7-p9, 2.4.6-p14, 2.4.5-p16, 2.4.4-p17 and earlier are affec
- CVE-2026-34649 HIGH 7.5 UPGRADE UPGRADE Adobe Commerce versions 2.4.9-beta1, 2.4.8-p4, 2.4.7-p9, 2.4.6-p14, 2.4.5-p16, 2.4.4-p17 and earlier are affec
- CVE-2026-34650 HIGH 7.5 UPGRADE UPGRADE Adobe Commerce versions 2.4.9-beta1, 2.4.8-p4, 2.4.7-p9, 2.4.6-p14, 2.4.5-p16, 2.4.4-p17 and earlier are affec
- CVE-2026-34651 HIGH 7.5 UPGRADE UPGRADE Adobe Commerce versions 2.4.9-beta1, 2.4.8-p4, 2.4.7-p9, 2.4.6-p14, 2.4.5-p16, 2.4.4-p17 and earlier are affec