# CVE-2025-51859: Stored Cross-Site Scripting (XSS) vulnerability in Chaindesk thru 2025-05-26 in its agent chat component.

- Severity: Medium 6.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.52%, higher than 45% of CVEs (2026-12-01)
- Published: 2025-07-22T00:00:00.000Z
- Modified: 2026-06-17T09:35:51.590Z
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: mitre

## Description

Stored Cross-Site Scripting (XSS) vulnerability in Chaindesk thru 2025-05-26 in its agent chat component. An attacker can achieve arbitrary client-side script execution by crafting an AI agent whose system prompt instructs the underlying Large Language Model (LLM) to embed malicious script payloads (e.g., SVG-based XSS) into its chat responses. When a user interacts with such a malicious agent or accesses a direct link to a conversation containing an XSS payload, the script executes in the user's browser. Successful exploitation can lead to the theft of sensitive information, such as JWT session tokens, potentially resulting in account hijacking.

(As written by CVE List.)

## Affected

- Unspecified product: n/a

## References

- <https://github.com/Secsys-FDU/CVE-2025-51859>

## Sources

- CVE List: [CVE-2025-51859](https://www.cve.org/CVERecord?id=CVE-2025-51859), CVE Terms of Use, modified 2025-07-22
- NVD: [CVE-2025-51859](https://nvd.nist.gov/vuln/detail/CVE-2025-51859), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-51859 · Whole record: https://cve.day/CVE-2025-51859.json · Rebuilt by cve.day 2026-11-25T22:59:01.571Z
