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.
Metrics
Affected Vendors & Products
References
Link | Providers |
---|---|
https://github.com/Secsys-FDU/CVE-2025-51859 |
![]() ![]() |
History
Tue, 22 Jul 2025 16:15:00 +0000
Type | Values Removed | Values Added |
---|---|---|
Weaknesses | CWE-79 | |
Metrics |
cvssV3_1
|
Tue, 22 Jul 2025 15:00:00 +0000
Type | Values Removed | Values Added |
---|---|---|
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. | |
References |
|

Status: PUBLISHED
Assigner: mitre
Published: 2025-07-22T00:00:00.000Z
Updated: 2025-07-22T15:26:08.741Z
Reserved: 2025-06-16T00:00:00.000Z
Link: CVE-2025-51859

Updated: 2025-07-22T15:25:56.046Z

Status : Awaiting Analysis
Published: 2025-07-22T15:15:36.623
Modified: 2025-07-25T15:29:44.523
Link: CVE-2025-51859

No data.