SecurityContext

CVE-2025-51860: TelegAI - Stored XSS

  • Cve: CVE-2025-51860
  • Name: TelegAI - Stored XSS
  • 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.
  • Impact: Attackers can execute scripts in users' browsers, stealing sensitive data like session tokens and enabling account hijacking.
  • Remediation: Update to the latest version with XSS payload sanitization and validation.
  • Vulnerability type: stored_xss
  • Vulnerability impact: client_script_exec, information_disclosure
  • Requirement type: user_interaction
  • Requirements: User must interact with or view malicious AI Character profile
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss score: 6.1
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
  • Epss score: 0.00335
  • Epss percentile: 0.27178
  • Assignee: [email protected]
  • Published at: 2025-07-22T15:15:36Z
  • Age in days: 490
  • Modified at: 2026-06-17T09:35:51Z
  • Public exploits total: 1
  • References total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2025-51860
  • Nvd status: deferred
  • Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits capped, products total, products, oss, projects total, projects, rejected by nvd
  • Not known: hackerone

Cwe

IdName
CWE-79Improper Neutralization of Input During Web Page Generation

Public exploits

UrlSourceAdded date
https://github.com/Secsys-FDU/CVE-2025-51860poc-in-github2025-07-19

References

UrlSourceTags
https://github.com/Secsys-FDU/CVE-2025-51860nvd

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Public exploit: yes
  • Public exploit count: 1
  • Public exploit first date: 2025-07-19
  • Remote: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts