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

Published May 23, 2024
·
Updated

In Eclipse Ditto starting in version 3.0.0 and prior to versions 3.4.5 and 3.5.6, 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.

Other sources

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.

MITRE

Affected Software

3 affected componentsFixes available
maven/org.eclipse.ditto:ditto>=3.5.0<3.5.6
3.5.6
maven/org.eclipse.ditto:ditto>=3.0.0<3.4.5
3.4.5
Eclipse Ditto>=3.0.0<3.5.6

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade maven/org.eclipse.ditto:ditto to a version that resolves this vulnerability.

    Fixed in 3.5.6
  2. Upgrade

    Upgrade maven/org.eclipse.ditto:ditto to a version that resolves this vulnerability.

    Fixed in 3.4.5
  3. Upgrade

    Upgrade Eclipse Ditto to a version that resolves this vulnerability.

    Fixed in 3.4.5
  4. Upgrade

    Upgrade Eclipse Ditto to a version that resolves this vulnerability.

    Fixed in 3.5.6

Event History

May 23, 2024
CVE Published
via MITRE·09:56 AM
Data Sourced
via MITRE·09:56 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·10:15 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·10:15 AM
Affected Software
Advisory Published
via GitHub·12:31 PM

Frequently Asked Questions

1

What is the severity of CVE-2024-5165?

CVE-2024-5165 is classified as a moderate severity vulnerability due to improper neutralization of user input.

2

How do I fix CVE-2024-5165?

To fix CVE-2024-5165, upgrade to Eclipse Ditto version 3.4.5 or 3.5.6.

3

What versions of Eclipse Ditto are affected by CVE-2024-5165?

CVE-2024-5165 affects Eclipse Ditto versions from 3.0.0 to prior to 3.4.5 and 3.5.6.

4

What types of attacks does CVE-2024-5165 make the application vulnerable to?

CVE-2024-5165 makes the application vulnerable to both reflected and stored cross-site scripting (XSS) attacks.

5

Is there a workaround for CVE-2024-5165 until I can upgrade?

Currently, there are no documented workarounds for CVE-2024-5165, so upgrading is recommended.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203