CVE-2024-5165Eclipse Ditto User Interface vulnerable to XSS due to Improper Neutralization of Input
In Eclipse Ditto versions 3.0.0 to 3.5.5, the user input of several input fields of the Eclipse Ditto Explorer User Interface https://eclipse.dev/ditto/user-interface.html was not properly neutralized and thus vulnerable to both Reflected and Stored XSS (Cross Site Scripting). Several inputs were not persisted at the backend of Eclipse Ditto, but only in local browser storage to save settings of "environments" of the UI and e.g. the last performed "search queries", resulting in a "Reflected XSS" vulnerability. However, several other inputs were persisted at the backend of Eclipse Ditto, leading to a "Stored XSS" vulnerability. Those mean that authenticated and authorized users at Eclipse Ditto can persist Things in Ditto which can - when being displayed by other users also being authorized to see those Things in the Eclipse Ditto UI - cause scripts to be executed in the browser of other users.
What to do
Fixed builds are available from Maven: see the table below for the fixed version per release.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Maven library | org.eclipse.ditto:ditto | Fixed | 3.5.6 | GHSA-hjfc-6jxr-j2rx |
What the vendor says
As published in the CVE record by eclipse, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- Eclipse Foundation Eclipse Ditto: affected: before 3.4.6, 3.5.0 to before 3.5.6; fixed in
3.4.6,3.5.6
References
- https://gitlab.eclipse.org/security/cve-assignement/-/issues/23
- https://gitlab.eclipse.org/security/vulnerability-reports/-/issues/211
- https://gitlab.eclipse.org/security/vulnerability-reports/-/issues/210
- https://gitlab.eclipse.org/security/vulnerability-reports/-/issues/209
- https://gitlab.eclipse.org/security/vulnerability-reports/-/issues/207
- https://gitlab.eclipse.org/security/vulnerability-reports/-/issues/204
- https://gitlab.eclipse.org/security/vulnerability-reports/-/issues/202
- https://gitlab.eclipse.org/security/vulnerability-reports/-/issues/201
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.