Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2024-5165

MEDIUM 6.5PoCEPSS 56%

Eclipse Ditto User Interface vulnerable to XSS due to Improper Neutralization of Input

Also known as GHSA-hjfc-6jxr-j2rx

Mitigation

  • Upgrade org.eclipse.ditto:ditto to one of 3.4.5, 3.5.6 (or later in the same release line).

Who should check

  • Projects that depend on Maven package org.eclipse.ditto:ditto (>= 3.0.0, < 3.4.5)
  • Anyone running Eclipse Foundation Eclipse Ditto < 3.4.6; >= 3.5.0, < 3.5.6

Vulnerability facts

Affected
org.eclipse.ditto:ditto >= 3.0.0, < 3.4.5
Fixed in
3.4.5, 3.5.6
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
Yes: see the exploit references below
Remote exploitation
Remote, login needed
CVSS
6.5 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:NOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Network
  • Attack complexity: Low
  • Privileges required: Low
  • User interaction: None
  • Scope: Unchanged
  • Confidentiality impact: None
  • Integrity impact: High
  • Availability impact: None
EPSS
0.87% chance of exploitation in 30 days (percentile 56, 2026-11-26)
CWE
CWE-79
Published
Modified

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.

Affected and fixed versions

Package / productAffectedFixedSource
Maven org.eclipse.ditto:ditto>= 3.0.0, < 3.4.53.4.5, 3.5.6osv
Eclipse Foundation Eclipse Ditto< 3.4.6; >= 3.5.0, < 3.5.6—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2024-5165. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-5165.md
Affected: org.eclipse.ditto:ditto >= 3.0.0, < 3.4.5
Fixed in: 3.4.5, 3.5.6

Steps:
1. Search this machine and project for org.eclipse.ditto:ditto (Maven), Eclipse Foundation Eclipse Ditto: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2024-5165 being exploited?

There is no confirmed exploitation: CVE-2024-5165 is not in the CISA Known Exploited Vulnerabilities catalog. Public exploit code or a proof of concept is available. EPSS estimates a 0.87% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2024-5165?

Medium: CVSS 6.5 (v3.1, scored by CNA). Remote, login needed.

Which versions are affected by CVE-2024-5165?

org.eclipse.ditto:ditto >= 3.0.0, < 3.4.5.

Is there a fix for CVE-2024-5165?

Yes. Fixed in 3.4.5, 3.5.6. Upgrade org.eclipse.ditto:ditto to one of 3.4.5, 3.5.6 (or later in the same release line).

How do I check if I'm affected by CVE-2024-5165?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors