# CVE-2024-5165: Eclipse Ditto User Interface vulnerable to XSS due to Improper Neutralization of Input

- Severity: Medium 6.5 (CVSS:3.1, scored by eclipse) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.87%, higher than 56% of CVEs (2026-11-30)
- Public exploit code or proof of concept: 7 links below, marked "exploit"
- Published: 2024-05-23T09:56:31.696Z
- Modified: 2026-06-17T08:15:19.747Z
- Also known as: GHSA-hjfc-6jxr-j2rx
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: eclipse

## Description

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.

(As written by CVE List.)

## Affected

- Eclipse Foundation Eclipse Ditto: before 3.4.6; from 3.5.0 before 3.5.6
- org.eclipse.ditto:ditto (Maven): from 3.0.0 before 3.4.5; from 3.5.0 before 3.5.6
- eclipse ditto: from 3.0.0 before 3.5.6

## Every score

- eclipse: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N`
- GitHub: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N`
- NVD: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`

## References

- <https://gitlab.eclipse.org/security/vulnerability-reports/-/issues/211> (exploit, issue-tracking, vendor-advisory, web)
- <https://gitlab.eclipse.org/security/vulnerability-reports/-/issues/210> (exploit, issue-tracking, vendor-advisory, web)
- <https://gitlab.eclipse.org/security/vulnerability-reports/-/issues/209> (exploit, issue-tracking, vendor-advisory, web)
- <https://gitlab.eclipse.org/security/vulnerability-reports/-/issues/207> (exploit, issue-tracking, vendor-advisory, web)
- <https://gitlab.eclipse.org/security/vulnerability-reports/-/issues/204> (exploit, issue-tracking, vendor-advisory, web)
- <https://gitlab.eclipse.org/security/vulnerability-reports/-/issues/202> (exploit, issue-tracking, vendor-advisory, web)
- <https://gitlab.eclipse.org/security/vulnerability-reports/-/issues/201> (exploit, issue-tracking, vendor-advisory, web)
- <https://gitlab.eclipse.org/security/cve-assignement/-/issues/23> (issue-tracking, vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-5165> (advisory)
- <https://github.com/eclipse-ditto/ditto/commit/20399a0ab9ef219c7833c24cf8140ddfb298788d> (web)
- <https://github.com/eclipse-ditto/ditto/commit/8fe1b3b9e0e2c333856dc166c8c3c7d2027c856d> (web)
- <https://github.com/eclipse-ditto/ditto/commit/9d1bac36ca7be94516635ef71eedfea6df1e77f4> (web)
- <https://github.com/eclipse-ditto/ditto/commit/cce2e961db08b5d591ef34920c61a0f7e7d810e4> (web)
- <https://eclipse.dev/ditto/release_notes_345.html> (web)
- <https://eclipse.dev/ditto/release_notes_356.html> (web)
- <https://github.com/eclipse-ditto/ditto> (package)

## Sources

- CVE List: [CVE-2024-5165](https://www.cve.org/CVERecord?id=CVE-2024-5165), CVE Terms of Use, modified 2024-08-01
- GitHub Advisory Database: [GHSA-hjfc-6jxr-j2rx](https://github.com/advisories/GHSA-hjfc-6jxr-j2rx), CC-BY-4.0, modified 2024-05-23
- NVD: [CVE-2024-5165](https://nvd.nist.gov/vuln/detail/CVE-2024-5165), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-5165 · Whole record: https://cve.day/CVE-2024-5165.json · Rebuilt by cve.day 2026-11-25T22:58:40.761Z
