GHSA-hjfc-6jxr-j2rx

Suggest an improvement
Source
https://github.com/advisories/GHSA-hjfc-6jxr-j2rx
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/05/GHSA-hjfc-6jxr-j2rx/GHSA-hjfc-6jxr-j2rx.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-hjfc-6jxr-j2rx
Aliases
  • CVE-2024-5165
Published
2024-05-23T12:31:02Z
Modified
2024-05-23T14:57:01.969490Z
Severity
  • 6.5 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N CVSS Calculator
Summary
Eclipse Ditto vulnerable to Cross-site Scripting
Details

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.

Database specific
{
    "nvd_published_at": "2024-05-23T10:15:10Z",
    "cwe_ids": [
        "CWE-79"
    ],
    "severity": "MODERATE",
    "github_reviewed": true,
    "github_reviewed_at": "2024-05-23T14:23:32Z"
}
References

Affected packages

Maven / org.eclipse.ditto:ditto

Package

Name
org.eclipse.ditto:ditto
View open source insights on deps.dev
Purl
pkg:maven/org.eclipse.ditto/ditto

Affected ranges

Type
ECOSYSTEM
Events
Introduced
3.0.0
Fixed
3.4.5

Affected versions

3.*

3.0.0
3.1.0-M1
3.1.0
3.1.1
3.1.2
3.2.0
3.2.1
3.3.0
3.3.1
3.3.2-M1
3.3.2
3.3.3
3.3.4
3.3.5
3.3.6
3.3.7
3.4.0-M1
3.4.0-M2
3.4.0
3.4.1
3.4.2
3.4.3
3.4.4

Maven / org.eclipse.ditto:ditto

Package

Name
org.eclipse.ditto:ditto
View open source insights on deps.dev
Purl
pkg:maven/org.eclipse.ditto/ditto

Affected ranges

Type
ECOSYSTEM
Events
Introduced
3.5.0
Fixed
3.5.6

Affected versions

3.*

3.5.0
3.5.1
3.5.2
3.5.3
3.5.4
3.5.5