CVE-2024-5165 json
Eclipse Ditto User Interface vulnerable to XSS due to Improper Neutralization of Input
published 2024-05-23 2 y ago modified 2026-06-17 4 mo ago also GHSA-hjfc-6jxr-j2rx , EUVD-2024-1650
- cvss
- 6.5
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.5%
- EPSS 0.5% chance of exploitation in 30 days, percentile 43%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- maven org.eclipse.ditto:ditto 3.4.5, 3.5.6
- Eclipse Foundation Eclipse Ditto 3.4.6, 3.5.6
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 2 y ago
Exploit prediction
0.50% chance of exploitation in the next 30 days, higher than 43% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- gitlab.eclipse.org https://gitlab.eclipse.org/security/vulnerability-reports/-/issues/211 referenced PoC, tagged "exploit" by a source, unverified
- gitlab.eclipse.org https://gitlab.eclipse.org/security/vulnerability-reports/-/issues/210 referenced PoC, tagged "exploit" by a source, unverified
- gitlab.eclipse.org https://gitlab.eclipse.org/security/vulnerability-reports/-/issues/209 referenced PoC, tagged "exploit" by a source, unverified
- gitlab.eclipse.org https://gitlab.eclipse.org/security/vulnerability-reports/-/issues/207 referenced PoC, tagged "exploit" by a source, unverified
- gitlab.eclipse.org https://gitlab.eclipse.org/security/vulnerability-reports/-/issues/204 referenced PoC, tagged "exploit" by a source, unverified
- gitlab.eclipse.org https://gitlab.eclipse.org/security/vulnerability-reports/-/issues/202 referenced PoC, tagged "exploit" by a source, unverified
- gitlab.eclipse.org https://gitlab.eclipse.org/security/vulnerability-reports/-/issues/201 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N |
| NVD | 3.1 | 5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
| GitHub | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| maven | org.eclipse.ditto:ditto | >=3.0.0, <3.4.5 >=3.5.0, <3.5.6 |
3.4.5 3.5.6 |
Affected products
- Eclipse Foundation Eclipse Ditto
Classification
- Weakness
-
- CWE-79 Improper Neutralization of Input During Web Page Generation
References
-
github.com
/eclipse-ditto/ditto/commit/20399a0ab9ef219c7833c24cf8140ddfb298788d
web
-
github.com
/eclipse-ditto/ditto/commit/8fe1b3b9e0e2c333856dc166c8c3c7d2027c856d
web
-
github.com
/eclipse-ditto/ditto/commit/9d1bac36ca7be94516635ef71eedfea6df1e77f4
web
-
github.com
/eclipse-ditto/ditto/commit/cce2e961db08b5d591ef34920c61a0f7e7d810e4
web
-
gitlab.eclipse.org
/security/vulnerability-reports/-/issues/211
web, exploit, issue-tracking, vendor-advisory
-
gitlab.eclipse.org
/security/vulnerability-reports/-/issues/210
web, exploit, issue-tracking, vendor-advisory
-
gitlab.eclipse.org
/security/vulnerability-reports/-/issues/209
web, exploit, issue-tracking, vendor-advisory
-
gitlab.eclipse.org
/security/vulnerability-reports/-/issues/207
web, exploit, issue-tracking, vendor-advisory
-
gitlab.eclipse.org
/security/vulnerability-reports/-/issues/204
web, exploit, issue-tracking, vendor-advisory
-
gitlab.eclipse.org
/security/vulnerability-reports/-/issues/202
web, exploit, issue-tracking, vendor-advisory
-
gitlab.eclipse.org
/security/vulnerability-reports/-/issues/201
web, exploit, issue-tracking, vendor-advisory
-
gitlab.eclipse.org
/security/cve-assignement/-/issues/23
web, issue-tracking, vendor-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2024-5165
advisory
-
eclipse.dev
/ditto/release_notes_345.html
web
-
eclipse.dev
/ditto/release_notes_356.html
web
-
github.com
/eclipse-ditto/ditto
package
Sources
- CVE List CVE-2024-5165
- GitHub Advisory GHSA-hjfc-6jxr-j2rx
- NVD CVE-2024-5165
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.