CVE-2024-34102 — Vulnerability in magento/community-edition — CVE...
Magento Open Source affected by an Improper Restriction of XML External Entity Reference ('XXE') vulnerability
What Should I Do?
Patch Immediately
This vulnerability is confirmed under active exploitation (CISA KEV). Patch within 24-48 hours if possible.
Summary
Advisory Timeline
- First published June 13, 2024 (851 days ago).
- Last revised July 17, 2024 — 34 days after initial publication.
- Added to CISA's Known Exploited Vulnerabilities catalog 34 days after publication.
Remediation
Upgrade to the fixed version using your package manager.
composer require "magento/community-edition:^2.4.5-p8"
composer require "magento/community-edition:^2.4.6-p6"
composer require "magento/community-edition:^2.4.4-p9"
After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.
Affected Packages (7)
Affects 1 ecosystem: packagist (1).
| Package | Ecosystem | Affected | Fixed In |
|---|---|---|---|
| magento/community-edition | packagist | 2.4.7 | No fix available |
| magento/community-edition | packagist | 2.4.5-p1, 2.4.5-p2, 2.4.5-p3, 2.4.5-p4 (+3 more) | 2.4.5-p8 |
| magento/community-edition | packagist | 2.4.5 | No fix available |
| magento/community-edition | packagist | 2.4.6 | No fix available |
| magento/community-edition | packagist | 2.4.6-p1, 2.4.6-p2, 2.4.6-p3, 2.4.6-p4 (+1 more) | 2.4.6-p6 |
| magento/community-edition | packagist | 0.1.0-alpha100, 0.1.0-alpha101, 0.1.0-alpha102, 0.1.0-alpha103 (+142 more) | 2.4.4-p9 |
| magento/community-edition | packagist | 2.4.4 | No fix available |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-611XML External Entity (XXE)MITRE
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 9.8 score means for each attack dimension.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-34102ADVISORY
- https://github.com/magento/magento2/commit/30877fce83b793f71421c47347885cf076e81799WEB
- https://github.com/magento/magento2/commit/a3c6d6e5e95e63031e4df26cfcf76feace7549c2WEB
- https://github.com/magento/magento2/commit/c5c538810b87449886f4669cb8abbe8e5593c83cWEB
- https://github.com/magento/magento2/commit/d10435b11ada4e502dca7539f8fd31d059d3c482#diff-84a0773a6287fbbaadf3b9103f4a137fc0b6946de2437ddfd6f60a0722cf8d23WEB
- https://github.com/FriendsOfPHP/security-advisories/blob/master/magento/product-community-edition/CVE-2024-34102.yamlWEB
- https://github.com/magento/magento2PACKAGE
- https://helpx.adobe.com/security/products/magento/apsb24-40.htmlWEB
- https://www.vicarius.io/vsociety/posts/cosmicsting-critical-unauthenticated-xxe-vulnerability-in-adobe-commerce-and-magento-cve-2024-34102WEB
Frequently Asked Questions
- What is CVE-2024-34102?
- Magento Open Source affected by an Improper Restriction of XML External Entity Reference ('XXE') vulnerability This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 9.8/10).
- How do I check if my project is affected by CVE-2024-34102?
- CVE-2024-34102 affects magento/community-edition. This vulnerability is listed in CISA's Known Exploited Vulnerabilities (KEV) catalog, meaning it is being actively exploited in the wild. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2024-34102 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Exploitation is straightforward and causes maximum impact. Patch immediately.
This vulnerability is in CISA's Known Exploited Vulnerabilities (KEV) catalog, indicating active exploitation in the wild.
Added to KEV catalog: July 17, 2024
Remediation deadline: August 7, 2024
Also Known As
Related CVEs
- CVE-2020-9585CRITICAL
Magento Defense-in-depth security mitigation vulnerability
- CVE-2020-9631CRITICAL
Magento security mitigation bypass vulnerability
- CVE-2024-20720HIGH
Magento Open Source allows OS Command Injection
- CVE-2024-39400HIGH
Magento DOM-based Cross-Site Scripting (XSS) vulnerability
- CVE-2025-49555HIGH
Magento Cross-Site Request Forgery (CSRF) vulnerability
- CVE-2023-29297HIGH
Magento Open Source allows Improper Neutralization of Special Elements Used
- CVE-2025-24410HIGH
Magento Stored Cross-Site Scripting (XSS) Vulnerability
- CVE-2023-38221MEDIUM
Magento Open Source allows SQL Injection
Check if you're affected
Scan your dependencies to see if this vulnerability affects your projects.
Scan Your Dependencies