Skip to content
MediumVulnerabilityLLM-specific

CVE-2025-51860: TelegAI stored cross-site scripting through AI character chat component

Identifier
CVE-2025-51860
Published
Record updated
View JSON
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
0.3%Estimated probability that this CVE is exploited in the next 30 days, from the FIRST Exploit Prediction Scoring System. Read on .

Summary

CVE-2025-51860 is a stored Cross-Site Scripting (XSS) flaw in the chat component and character container component of TelegAI (telegai.com), reported 2025-05-26. An attacker can craft an AI Character with SVG XSS payloads in its description, greeting, example dialog, or system prompt, including instructions for the LLM to embed a payload in its chat response. When a user interacts with the character or views its profile, the script runs in the user's browser, which can lead to theft of session tokens and account hijacking.

Mitigation

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