CVE-2025-51860

MEDIUM

TelegAI - Stored Cross-Site Scripting via AI Character SVG Payloads

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 1 public exploit for CVE-2025-51860. PoCs published by Secsys-FDU.

AI-analyzed exploit summary The repository describes a Stored XSS vulnerability in TelegAI's AI Character chat functionality, where attackers can embed SVG XSS payloads in character profiles or system prompts to execute arbitrary JavaScript in a victim's browser. The writeup includes technical details about attack vectors and potential impacts, such as session token theft.

Description

Stored Cross-Site Scripting (XSS) in TelegAI (telegai.com) 2025-05-26 in its chat component and character container component. An attacker can achieve arbitrary client-side script execution by crafting an AI Character with SVG XSS payloads in either description, greeting, example dialog, or system prompt(instructing the LLM to embed XSS payload in its chat response). When a user interacts with such a malicious AI Character or just browse its profile, the script executes in the user's browser. Successful exploitation can lead to the theft of sensitive information, such as session tokens, potentially resulting in account hijacking.

Exploits (1)

nomisec WRITEUP
by Secsys-FDU · poc
https://github.com/Secsys-FDU/CVE-2025-51860

The repository describes a Stored XSS vulnerability in TelegAI's AI Character chat functionality, where attackers can embed SVG XSS payloads in character profiles or system prompts to execute arbitrary JavaScript in a victim's browser. The writeup includes technical details about attack vectors and potential impacts, such as session token theft.

Classification
Writeup 90%
Attack Type
Xss
Complexity
Moderate
Reliability
Reliable
Target: TelegAI (web application)
No auth needed
Prerequisites: Ability to create or modify an AI Character profile · Victim interaction with the malicious character
devstral-2 · analyzed Feb 18, 2026 Full analysis →

References (1)

Core 1
Core References

Scores

CVSS v3 6.1
EPSS 0.0027
EPSS Percentile 18.3%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

CISA SSVC

Vulnrichment
Exploitation poc
Automatable no
Technical Impact partial

Details

CWE
CWE-79
Status published
Published Jul 22, 2025
Tracked Since Feb 18, 2026