Unauthenticated code execution via nested XML deserialization
Published Jun 13, 2024 · Updated Oct 21, 2025
XXE in Adobe Commerce 2.4.7 and earlier allows remote attackers to execute arbitrary code through a crafted XML document. Web API nested deserialization maps attacker-controlled sourceData constructor arguments into Magento\Framework\Simplexml\Element, enabling external-entity resolution. No authentication or user interaction is required; entity resolution can disclose the encryption key, enabling forged administrator tokens and code execution.
Summary
What happened
XXE in Adobe Commerce 2.4.7 and earlier allows remote attackers to execute arbitrary code through a crafted XML document. Web API nested deserialization maps attacker-controlled sourceData constructor arguments into Magento\Framework\Simplexml\Element, enabling external-entity resolution. No authentication or user interaction is required; entity resolution can disclose the encryption key, enabling forged administrator tokens and code execution.
The record
- CVE
- CVE-2024-34102
- Published
- Jun 13, 2024
- Updated
- Oct 21, 2025
- Vendor
- Adobe
- Product
- Adobe Commerce
- Classifications
- CWE-611, T1190
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Jun 13, 2024CVE publishedPublication date reported by the CVE source.
- Jul 17, 2024Exploitation reportedCISA Known Exploited Vulnerabilities listing
- Oct 21, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=0 <=2.3.7-p4-ext-7
- Affected versionversion=0 <=2.4.0-ext-7
- Affected versionversion=0 <=2.4.1-ext-7
- Affected versionversion=0 <=2.4.2-ext-7
- Affected versionversion=0 <=2.4.3-ext-7
- Affected versionversion=0 <=2.4.4-p8
- Affected versionversion=0 <=2.4.5-p7
- Affected versionversion=0 <=2.4.6-p5
- Affected versionversion=0 <=2.4.7
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- Assetnote CosmicSting proof of conceptfunctional · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Reported exploitation
- CISA Known Exploited Vulnerabilities listingknown exploited catalog
- Limited attacks targeting Adobe Commerce merchantsreported exploitation
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo