CVE-2026-94488
Received Received - Intake

Cross-Site Scripting in Telegram Desktop HTML Exporter

Vulnerability report for CVE-2026-94488, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-09-21

Last updated on: 2026-09-21

Assigner: MITRE

Description

Telegram Desktop before 6.9.4 allows XSS in the HTML exporter. (The first fixed stable version is 7.0.1.) This occurs in button.text.toUtf8 in export_output_html.cpp. Exploitation cannot occur unless HTML export was used by a victim. However, the exploit payload can be exported if a message were forwarded into a group by a member (it is not necessary for the message author to be a member of a group).

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-09-21
Last Modified
2026-09-21
Generated
2026-09-22
AI Q&A
2026-09-21
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 2 associated CPEs
Vendor Product Version / Range
telegram desktop to 6.9.4 (exc)
telegram desktop 7.0.1

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-79 The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This is a cross-site scripting (XSS) vulnerability in Telegram Desktop versions before 6.9.4. It occurs when exporting chat history to HTML. Malicious JavaScript can be embedded in button text of bot messages, which executes when the exported HTML file is opened in a browser. The flaw stems from improper sanitization of user input during HTML export.

Detection Guidance

To detect this vulnerability, check if your Telegram Desktop version is below 6.9.4. If you have exported HTML files from older versions, inspect them for suspicious JavaScript or script tags in button text. Open the HTML file in a text editor and search for <script> tags or onclick handlers in button elements.

Impact Analysis

An attacker could steal all your exported messages, sender details, and metadata. They could also rewrite displayed content, such as replacing the export with fake verification forms. The attack requires no special access and can affect anyone who opens an infected HTML export file with JavaScript enabled.

Compliance Impact

This vulnerability could lead to unauthorized access and exfiltration of sensitive data, violating GDPR's data protection principles and HIPAA's confidentiality requirements. It undermines compliance by enabling data breaches through compromised export files.

Mitigation Strategies

Update Telegram Desktop to version 6.9.4 or later. Re-export any HTML files created before the update. Disable JavaScript in your browser when opening old HTML exports. Avoid opening HTML exports from untrusted sources.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-94488. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart