# Eclipse Ditto vulnerable to Cross-site Scripting

Advisory record · `GHSA-hjfc-6jxr-j2rx`

- **Identifiers:** `GHSA-hjfc-6jxr-j2rx` · `CVE-2024-5165`
- **State:** Confirmed
- **Severity:** CVSS 6.5 Medium
- **Critical:** No
- **Weakness (CWE):** [CWE-79](https://cwe.mitre.org/data/definitions/79.html)
- **Tags:** [Cross-site scripting (XSS)](https://agentprime.io/advisories/tag/xss.md)
- **Published:** 23 May 2024
- **Updated:** 23 May 2024
- **Reviewed by a person:** No

Published by the GitHub Advisory Database at 23 May 2024, 12:31 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

## Affected packages

- `org.eclipse.ditto:ditto` (Maven): affected `>=3.0.0, <3.4.5 || >=3.5.0, <3.5.6`; fixed in `3.4.5`, `3.5.6`

## Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

> Eclipse Ditto (org.eclipse.ditto:ditto) versions 3.0.0 up to 3.4.5 and 3.5.0 up to 3.5.6 are affected by cross-site scripting in the Ditto Explorer user interface. An attacker can exploit reflected XSS through input fields that are stored only in browser storage, and stored XSS by persisting Things that run scripts when other authorized users view them, which requires an authenticated and authorized account. Upgrade to version 3.4.5 or 3.5.6.

Written 8 Nov 2026.

## Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

## Severity and exploitation

- 6.5 Medium, CVSS 3.1: `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N`, from CNA (eclipse)

- **CISA KEV:** Not listed.
- **EPSS:** 0.0050, the 43rd percentile, on 14 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

- 31 Oct 2026, 15:13 UTC: First seen by agentprime
- 31 Oct 2026, 15:13 UTC: [Confirmed by OSV](https://osv.dev/vulnerability/GHSA-hjfc-6jxr-j2rx)

## Sources

- [GitHub Advisory Database: GHSA-hjfc-6jxr-j2rx](https://github.com/advisories/GHSA-hjfc-6jxr-j2rx)
- [OSV: GHSA-hjfc-6jxr-j2rx](https://osv.dev/vulnerability/GHSA-hjfc-6jxr-j2rx)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-5165>
- <https://github.com/eclipse-ditto/ditto/commit/20399a0ab9ef219c7833c24cf8140ddfb298788d>
- <https://github.com/eclipse-ditto/ditto/commit/8fe1b3b9e0e2c333856dc166c8c3c7d2027c856d>
- <https://github.com/eclipse-ditto/ditto/commit/9d1bac36ca7be94516635ef71eedfea6df1e77f4>
- <https://github.com/eclipse-ditto/ditto/commit/cce2e961db08b5d591ef34920c61a0f7e7d810e4>
- <https://eclipse.dev/ditto/release_notes_345.html>
- <https://eclipse.dev/ditto/release_notes_356.html>
- <https://github.com/eclipse-ditto/ditto>
- <https://gitlab.eclipse.org/security/cve-assignement/-/issues/23>
- <https://gitlab.eclipse.org/security/vulnerability-reports/-/issues/201>
- <https://gitlab.eclipse.org/security/vulnerability-reports/-/issues/202>
- <https://gitlab.eclipse.org/security/vulnerability-reports/-/issues/204>

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.

## Check whether this affects you

A Match means an installed version is in the affected range above. Most don’t affect the app; agentprime hasn’t analysed this one yet.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), ask your agent to check the project: `check_lockfile` sends a lockfile, `check_packages` a list of installed packages, and both return the Matches and the upgrades that clear them. `get_advisory` returns this record. Setup: <https://agentprime.io/mcp.md>
- In a browser: <https://agentprime.io/check/> reads your lockfile in the browser, never uploading it.
- Whether it touches your code, with file and line: the Claude Code plugin, <https://agentprime.io/plugin.md>
- As JSON: <https://api.agentprime.io/v1/advisories/GHSA-hjfc-6jxr-j2rx>, or `POST https://api.agentprime.io/v1/match` with your packages (<https://agentprime.io/api.md>)

---

The web page: <https://agentprime.io/advisories/GHSA-hjfc-6jxr-j2rx/>. Everything for agents: <https://agentprime.io/llms.txt>.
