{"id":"GHSA-m8cj-3v68-3cxj","aliases":["BIT-magento-2024-34102","CVE-2024-34102"],"title":"Magento Open Source affected by an Improper Restriction of XML External Entity Reference ('XXE') vulnerability","titleSource":"OSV","descriptionSource":"OSV","declaredSeverity":"CRITICAL","description":"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.","severity":"critical","score":9.8,"published":"2024-06-13T09:31:00.000Z","modified":"2024-07-17T19:38:11.779Z","withdrawn":false,"knownExploited":true,"affected":[{"ecosystem":"Packagist","name":"magento/community-edition","sources":[{"name":"OSV · GHSA-m8cj-3v68-3cxj","url":"https://osv.dev/vulnerability/GHSA-m8cj-3v68-3cxj"}],"ranges":[],"versions":["2.4.4"],"fixed":[]},{"ecosystem":"Packagist","name":"magento/community-edition","sources":[{"name":"OSV · GHSA-m8cj-3v68-3cxj","url":"https://osv.dev/vulnerability/GHSA-m8cj-3v68-3cxj"}],"ranges":[{"events":[{"introduced":"2.4.6-p1"},{"fixed":"2.4.6-p6"}],"type":"ECOSYSTEM"}],"versions":["2.4.6-p1","2.4.6-p2","2.4.6-p3","2.4.6-p4","2.4.6-p5"],"fixed":["2.4.6-p6"]},{"ecosystem":"Packagist","name":"magento/community-edition","sources":[{"name":"OSV · GHSA-m8cj-3v68-3cxj","url":"https://osv.dev/vulnerability/GHSA-m8cj-3v68-3cxj"}],"ranges":[{"events":[{"introduced":"2.4.5-p1"},{"fixed":"2.4.5-p8"}],"type":"ECOSYSTEM"}],"versions":["2.4.5-p1","2.4.5-p2","2.4.5-p3","2.4.5-p4","2.4.5-p5","2.4.5-p6","2.4.5-p7"],"fixed":["2.4.5-p8"]},{"ecosystem":"Packagist","name":"magento/community-edition","sources":[{"name":"OSV · GHSA-m8cj-3v68-3cxj","url":"https://osv.dev/vulnerability/GHSA-m8cj-3v68-3cxj"}],"ranges":[{"events":[{"introduced":"0"},{"fixed":"2.4.4-p9"}],"type":"ECOSYSTEM"}],"versions":["0.1.0-alpha100","0.1.0-alpha101","0.1.0-alpha102","0.1.0-alpha103","0.1.0-alpha104","0.1.0-alpha105","0.1.0-alpha106","0.1.0-alpha107","0.1.0-alpha108","0.1.0-alpha89","0.1.0-alpha90","0.1.0-alpha91","0.1.0-alpha92","0.1.0-alpha93","0.1.0-alpha94","0.1.0-alpha95","0.1.0-alpha96","0.1.0-alpha97","0.1.0-alpha98","0.1.0-alpha99","0.42.0-beta1","0.42.0-beta10","0.42.0-beta11","0.42.0-beta2","0.42.0-beta3","0.42.0-beta4","0.42.0-beta5","0.42.0-beta6","0.42.0-beta7","0.42.0-beta8","0.42.0-beta9","0.74.0-beta1","0.74.0-beta10","0.74.0-beta11","0.74.0-beta12","0.74.0-beta13","0.74.0-beta14","0.74.0-beta15","0.74.0-beta16","0.74.0-beta2","0.74.0-beta3","0.74.0-beta4","0.74.0-beta5","0.74.0-beta6","0.74.0-beta7","0.74.0-beta8","0.74.0-beta9","1.0.0-beta","1.0.0-beta2","1.0.0-beta3","1.0.0-beta4","1.0.0-beta5","1.0.0-beta6","2.0.0","2.0.0-rc","2.0.0-rc2","2.0.1","2.0.10","2.0.11","2.0.12","2.0.13","2.0.14","2.0.15","2.0.16","2.0.17","2.0.18","2.0.2","2.0.3","2.0.4","2.0.5","2.0.6","2.0.7","2.0.8","2.0.9","2.1.0","2.1.0-rc1","2.1.0-rc2","2.1.0-rc3","2.1.1","2.1.10","2.1.11","2.1.12","2.1.13","2.1.14","2.1.15","2.1.16","2.1.17","2.1.18","2.1.2","2.1.3","2.1.4","2.1.5","2.1.6","2.1.7","2.1.8","2.1.9","2.2.0","2.2.1","2.2.10","2.2.11","2.2.2","2.2.3","2.2.4","2.2.5","2.2.6","2.2.7","2.2.8","2.2.9","2.3.0","2.3.1","2.3.2","2.3.2-p2","2.3.3","2.3.3-p1","2.3.4","2.3.4-p2","2.3.5","2.3.5-p1","2.3.5-p2","2.3.6","2.3.6-p1","2.3.7","2.3.7-p1","2.3.7-p2","2.3.7-p3","2.3.7-p4","2.4.0","2.4.0-p1","2.4.1","2.4.1-p1","2.4.2","2.4.2-p1","2.4.2-p2","2.4.3","2.4.3-p1","2.4.3-p2","2.4.3-p3","2.4.4","2.4.4-p1","2.4.4-p2","2.4.4-p3","2.4.4-p4","2.4.4-p5","2.4.4-p6","2.4.4-p7","2.4.4-p8"],"fixed":["2.4.4-p9"]},{"ecosystem":"Packagist","name":"magento/community-edition","sources":[{"name":"OSV · GHSA-m8cj-3v68-3cxj","url":"https://osv.dev/vulnerability/GHSA-m8cj-3v68-3cxj"}],"ranges":[],"versions":["2.4.5"],"fixed":[]},{"ecosystem":"Packagist","name":"magento/community-edition","sources":[{"name":"OSV · GHSA-m8cj-3v68-3cxj","url":"https://osv.dev/vulnerability/GHSA-m8cj-3v68-3cxj"}],"ranges":[],"versions":["2.4.6"],"fixed":[]},{"ecosystem":"Packagist","name":"magento/community-edition","sources":[{"name":"OSV · GHSA-m8cj-3v68-3cxj","url":"https://osv.dev/vulnerability/GHSA-m8cj-3v68-3cxj"}],"ranges":[],"versions":["2.4.7"],"fixed":[]}],"sourceAffected":[],"references":["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"],"sources":[{"name":"OSV","id":"GHSA-m8cj-3v68-3cxj","modified":"2024-07-17T19:38:11.779047Z","url":"https://osv.dev/vulnerability/GHSA-m8cj-3v68-3cxj"}],"assessments":[{"source":"OSV","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8}],"products":[],"remediation":[],"kev":{"status":"listed","checkedAt":"2026-10-29T00:35:31.531Z","cveID":"CVE-2024-34102","vendorProject":"Adobe","product":"Commerce and Magento Open Source","vulnerabilityName":"Adobe Commerce and Magento Open Source Improper Restriction of XML External Entity Reference (XXE) Vulnerability","dateAdded":"2024-07-17","shortDescription":"Adobe Commerce and Magento Open Source contain an improper restriction of XML external entity reference (XXE) vulnerability that allows for remote code execution.","requiredAction":"Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.","dueDate":"2024-08-07","knownRansomwareCampaignUse":"Unknown","forensicTriage":"No","notes":"https://helpx.adobe.com/security/products/magento/apsb24-40.html;  https://nvd.nist.gov/vuln/detail/CVE-2024-34102","cwes":["CWE-611"]},"coverage":[{"source":"NVD","status":"available","checkedAt":"2026-10-28T09:05:33.113Z","attemptedAt":"2026-10-28T09:05:33.113Z"},{"source":"GHSA","status":"refresh-failed","attemptedAt":"2026-10-28T09:05:33.113Z"},{"source":"EUVD","status":"available","checkedAt":"2026-10-28T09:05:33.113Z","attemptedAt":"2026-10-28T09:05:33.113Z"},{"source":"EPSS","status":"available","checkedAt":"2026-10-28T09:05:33.113Z","attemptedAt":"2026-10-28T09:05:33.113Z"}],"evidence":[{"source":"ENISA EUVD","id":"EUVD-2024-2102","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2024-2102","modified":"Oct 21, 2025, 10:56:22 PM","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","checkedAt":"2026-10-28T09:05:33.113Z"},{"source":"FIRST EPSS","id":"CVE-2024-34102","url":"https://www.first.org/epss/","probability":0.99994,"percentile":0.99987,"date":"2026-10-27","checkedAt":"2026-10-28T09:05:33.113Z"},{"source":"NVD","id":"CVE-2024-34102","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-34102","modified":"2026-06-17T07:32:54.930","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","checkedAt":"2026-10-28T09:05:33.113Z"}]}