{"id":"CVE-2024-5165","published":"2024-05-23T09:56:31Z","modified":"2024-08-01T21:03:11Z","title":"Eclipse Ditto User Interface vulnerable to XSS due to Improper Neutralization of Input","vendor":"Eclipse Foundation","product":"Eclipse Ditto","tier":"tail","description":{"text":"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).\n\n\n\n\n\nSeveral 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.\n\n\n\n\nHowever, 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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.005,"percentile":0.4339,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://gitlab.eclipse.org/security/cve-assignement/-/issues/23","tags":[]},{"url":"https://gitlab.eclipse.org/security/vulnerability-reports/-/issues/211","tags":[]},{"url":"https://gitlab.eclipse.org/security/vulnerability-reports/-/issues/210","tags":[]},{"url":"https://gitlab.eclipse.org/security/vulnerability-reports/-/issues/209","tags":[]},{"url":"https://gitlab.eclipse.org/security/vulnerability-reports/-/issues/207","tags":[]},{"url":"https://gitlab.eclipse.org/security/vulnerability-reports/-/issues/204","tags":[]},{"url":"https://gitlab.eclipse.org/security/vulnerability-reports/-/issues/202","tags":[]},{"url":"https://gitlab.eclipse.org/security/vulnerability-reports/-/issues/201","tags":[]}],"priority":{"score":13.2,"factors":[{"name":"EPSS percentile","points":8.68},{"name":"CVSS severity","points":4.55}]},"vendorSlug":"eclipse-foundation","affectedVersions":[{"vendor":"Eclipse Foundation","product":"Eclipse Ditto","versions":["< 3.4.6",">= 3.5.0, < 3.5.6"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-05-23T19:50:06.370667Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Maven","package":"org.eclipse.ditto:ditto","vulnerableRanges":[">=3.0.0, <3.4.5",">=3.5.0, <3.5.6"],"patched":["3.4.5","3.5.6"],"from":["GHSA-hjfc-6jxr-j2rx"],"provenance":"source"}],"summary":{"text":"Eclipse Ditto's Explorer User Interface, which is the web UI bundled with Eclipse Ditto versions 3.0.0 through 3.5.5, fails to properly neutralize user-supplied input in several fields, leaving it open to both reflected and stored cross-site scripting. An attacker with a valid, authorized account can persist crafted Things that execute scripts in the browsers of other authorized users who view them over the network, while the reflected variant depends on a victim interacting with a crafted input.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:44:19Z"},"euvd":{"id":"EUVD-2024-1650","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-eclipse-ditto-cve-2024-5165","children":[{"from":"CVE-2024-5165","to":"CVE-2026-107503","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["ui/modules/environments/environments.ts"],"commits":["https://github.com/eclipse-ditto/ditto/commit/20399a0ab9ef219c7833c24cf8140ddfb298788d","https://github.com/eclipse-ditto/ditto/commit/8fe1b3b9e0e2c333856dc166c8c3c7d2027c856d","https://github.com/eclipse-ditto/ditto/commit/71061f0b01df596fad80fb24502eb1e852ea6909","https://github.com/eclipse-ditto/ditto/commit/d4e51ba20e53c73e3b24e64d4aca57f6079d9ca1"],"basis":"rarely changed file"}]}]}}