{"id":"CVE-2023-4218","aliases":["CVE-2023-4218","GHSA-j24h-xcpc-9jw8"],"related":[],"kind":"vulnerability","state":"published","title":"XXE in eclipse.platform / Eclipse IDE","summary":"In Eclipse IDE versions < 2023-09 (4.29) some files with xml content are parsed vulnerable against all sorts of XXE attacks. The user just needs to open any evil project or update an open project with a vulnerable file (for example for review a foreign repository or patch).","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In Eclipse IDE versions < 2023-09 (4.29) some files with xml content are parsed vulnerable against all sorts of XXE attacks. The user just needs to open any evil project or update an open project with a vulnerable file (for example for review a foreign repository or patch).","source":"cvelist"},{"lang":"en","text":"### Impact\nxml files like \".project\" are parsed vulnerable against all sorts of XXE attacks. The user just needs to open any evil project or update an open project with a vulnerable file (for example for review  a foreign repository or patch).\n\nVulnerablility was found by static code analysis (SonarLint).\n\nExample `.project` file:\n```\n<?xml version=\"1.0\" encoding=\"utf-8\"?> \n<!DOCTYPE price [\n<!ENTITY xxe SYSTEM \"http://127.0.0.1:49416/evil\">]>\n<projectDescription>\n\t<name>p</name>\n\t<comment>&xxe;</comment>\n</projectDescription>\n```\n\n### Patches\nSimilar patches including junit test that shows the vulnerability have already applied to PDE (see https://github.com/eclipse-pde/eclipse.pde/pull/667). A solution to platform should be the same: just reject parsing any XML that contains any `DOCTYPE`.\n\n### Workarounds\nNo known workaround. User can only avoid to get/open any foreign files with eclipse. Firewall rules against loss of data (but not against XML bomb).\n\n### References\nhttps://cwe.mitre.org/data/definitions/611.html\nhttps://rules.sonarsource.com/java/RSPEC-2755\nhttps://gitlab.eclipse.org/security/vulnerability-reports/-/issues/8 (Report for multiple projects affected)","format":"markdown","source":"ghsa"},{"lang":"es","text":"En las versiones de Eclipse IDE &lt;2023-09 (4.29), algunos archivos con contenido xml se analizan como vulnerables a todo tipo de ataques XXE. El usuario sólo necesita abrir cualquier proyecto maligno o actualizar un proyecto abierto con un archivo vulnerable (por ejemplo, para revisar un repositorio o parche externo).","source":"nvd"}],"published":"2023-11-09T08:26:51.567Z","modified":"2026-06-17T06:37:20.477Z","severity":{"scorer":"eclipse","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N","score":5,"rating":"MEDIUM"},"severities":[{"scorer":"eclipse","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N","score":5,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N","score":5,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N","score":5,"rating":"MEDIUM"}],"cwes":["CWE-611"],"affected":[{"ranges":[{"type":"semver","introduced":"0","fixed":"4.29","status":"affected"}],"vendor":"Eclipse Foundation","product":"Eclipse IDE","source":"cvelist"},{"ranges":[{"type":"custom","introduced":"0","fixed":"2023-09","status":"affected"}],"vendor":"Eclipse Foundation","product":"Eclipse IDE","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","fixed":"3.29.0","status":"affected"}],"vendor":"Eclipse Foundation","product":"org.eclipse.core.runtime","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","lastAffected":"3.13.2400","status":"affected"}],"vendor":"Eclipse Foundation","product":"org.eclipse.pde","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"3.29.0"}],"ecosystem":"Maven","package":"org.eclipse.platform:org.eclipse.core.runtime","purl":"pkg:maven/org.eclipse.platform/org.eclipse.core.runtime","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"4.29.0"}],"ecosystem":"Maven","package":"org.eclipse.platform:org.eclipse.platform","purl":"pkg:maven/org.eclipse.platform/org.eclipse.platform","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"3.31.0"}],"ecosystem":"Maven","package":"org.eclipse.platform:org.eclipse.jface","purl":"pkg:maven/org.eclipse.platform/org.eclipse.jface","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"3.13.0"}],"ecosystem":"Maven","package":"org.eclipse.platform:org.eclipse.ui.forms","purl":"pkg:maven/org.eclipse.platform/org.eclipse.ui.forms","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"3.21.100"}],"ecosystem":"Maven","package":"org.eclipse.platform:org.eclipse.ui.ide","purl":"pkg:maven/org.eclipse.platform/org.eclipse.ui.ide","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"3.130.0"}],"ecosystem":"Maven","package":"org.eclipse.platform:org.eclipse.ui.workbench","purl":"pkg:maven/org.eclipse.platform/org.eclipse.ui.workbench","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"1.3.100"}],"ecosystem":"Maven","package":"org.eclipse.platform:org.eclipse.urischeme","purl":"pkg:maven/org.eclipse.platform/org.eclipse.urischeme","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"3.30.0"}],"ecosystem":"Maven","package":"org.eclipse.jdt:org.eclipse.jdt.ui","purl":"pkg:maven/org.eclipse.jdt/org.eclipse.jdt.ui","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"4.29"}],"vendor":"eclipse","product":"eclipse_ide","cpe":"cpe:2.3:a:eclipse:eclipse_ide:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","fixed":"3.29.0"}],"vendor":"eclipse","product":"org.eclipse.core.runtime","cpe":"cpe:2.3:a:eclipse:org.eclipse.core.runtime:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","fixed":"3.13.2400"}],"vendor":"eclipse","product":"pde","cpe":"cpe:2.3:a:eclipse:pde:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://gitlab.eclipse.org/security/vulnerability-reports/-/issues/8","tags":["exploit","issue-tracking","vendor-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/eclipse-pde/eclipse.pde/pull/632/","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://github.com/eclipse-pde/eclipse.pde/pull/667/","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://github.com/eclipse-platform/eclipse.platform/pull/761","tags":["patch","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/eclipse-platform/eclipse.platform.releng.buildtools/pull/45","tags":["patch","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/eclipse-platform/eclipse.platform.ui/commit/f243cf0a28785b89b7c50bf4e1cce48a917d89bd","tags":["patch","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/eclipse-jdt/eclipse.jdt.ui/commit/13675b1f8a74f47de4da89ed0ded6af7c21dfbec","tags":["patch","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/eclipse-jdt/eclipse.jdt.core/commit/38dd2a878f45cdb3d8d52090f1d6d1b532fd4c4d","tags":["patch","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/eclipse-emf/org.eclipse.emf/issues/10","tags":["issue-tracking","third-party-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/eclipse-platform/eclipse.platform.swt/commit/bf71db5ddcb967c0863dad4745367b54f49e06ba","tags":["patch","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/eclipse-cdt/cdt/commit/c7169b3186d2fef20f97467c3e2ad78e2943ed1b","tags":["patch","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/eclipse-platform/eclipse.platform/security/advisories/GHSA-j24h-xcpc-9jw8","tags":["web"],"sources":["ghsa"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-4218","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/eclipse-pde/eclipse.pde/pull/632","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/eclipse-pde/eclipse.pde/pull/667","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/eclipse-platform/eclipse.platform/commit/5dc372a0c5002b7f22e5d49eaa1cbf0916455daf","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/eclipse-platform/eclipse.platform","tags":["package"],"sources":["ghsa"]}],"credits":["Jörg Kubitz"],"assigner":"eclipse","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"total","date":"2024-09-03T19:23:43.910Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-4218","url":"https://www.cve.org/CVERecord?id=CVE-2023-4218","licence":"CVE Terms of Use","modified":"2024-09-03T19:26:14.225Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-j24h-xcpc-9jw8","url":"https://github.com/advisories/GHSA-j24h-xcpc-9jw8","licence":"CC-BY-4.0","modified":"2024-12-03T06:08:39.967Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-4218","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-4218","licence":"Public domain","modified":"2026-06-17T06:37:20.477Z"}],"updatedAt":"2026-11-25T22:58:30.265Z","epss":{"score":0.00402,"percentile":0.36583,"date":"2026-12-01T12:00:22.000Z"}}