Skip to content
MediumVulnerabilityLLM-specific

CVE-2025-51859: Chaindesk stored cross-site scripting in agent chat component

Identifier
CVE-2025-51859
Published
Record updated
View JSON
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
0.5%

Summary

CVE-2025-51859 is a stored Cross-Site Scripting (XSS) flaw in the agent chat component of Chaindesk through 2025-05-26. An attacker can craft an AI agent whose system prompt instructs the underlying Large Language Model (LLM) to embed script payloads, such as SVG-based XSS, in its chat responses. When a user interacts with that agent or opens a direct link to a conversation containing the payload, the script runs in the user's browser, which can expose sensitive data such as JWT session tokens and enable account hijacking.

Mitigation

The source does not state a fix yet. Check the original advisory for updates.