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).
Published: 2026-09-21
Score: 8.3 High
EPSS: n/a
KEV: No
Impact: Cross‑Site Scripting via HTML Export
Action: Patch
AI Analysis

Impact

Telegram Desktop contains an input‑validation flaw in its HTML export function that allows an attacker to inject malicious JavaScript into an exported file. The vulnerability resides in the conversion of button text to UTF‑8 within export_output_html.cpp and satisfies CWE‑79. When a message containing attacker‑controlled script is processed by the exporter, the resulting HTML file includes executable code that can run when the file is opened in a browser or any application that renders HTML, potentially exposing the victim’s credentials or enabling other local attacks.

Affected Systems

Telegram Desktop releases older than 7.0.1 are affected, including all 6.x versions up through 6.9.4 and any earlier branches. The first stable release to contain the fix is version 7.0.1, which removes the vulnerable logic. Users on the 6.x line should patch to at least 7.0.1 to eliminate the flaw.

Risk and Exploitability

The CVSS score of 8.3 indicates a high‑severity flaw, yet exploitation requires the victim to export a chat that contains malicious content. Attackers can disseminate the payload by forwarding a crafted message into a group, after which a group member can export the chat to a local HTML file. Because the trigger is a local export action and no network‑only vector exists, the risk of widespread deployment is limited, but the vulnerability remains a serious threat for users who rely on the export feature. The EPSS score is unavailable and the flaw is not listed in the CISA KEV catalog, so organisations should treat it as a timely CVE and update promptly if they use the exporter feature.

Generated by OpenCVE AI on September 21, 2026 at 18:35 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade to Telegram Desktop 7.0.1 or later.
  • Avoid using the HTML export feature for chats that may contain malicious content, particularly forwarded messages from unknown or compromised users.
  • If exported HTML must be viewed, open it in a sandboxed or isolated environment and ensure the browser enforces strict content‑security policies.

Generated by OpenCVE AI on September 21, 2026 at 18:35 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 21 Sep 2026 18:45:00 +0000

Type Values Removed Values Added
First Time appeared Telegram desktop
Vendors & Products Telegram desktop

Mon, 21 Sep 2026 17:30:00 +0000

Type Values Removed Values Added
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).
First Time appeared Telegram
Telegram telegram Desktop
Weaknesses CWE-79
CPEs cpe:2.3:a:telegram:telegram_desktop:*:*:*:*:*:*:*:*
Vendors & Products Telegram
Telegram telegram Desktop
References
Metrics cvssV3_1

{'score': 8.2, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N'}

cvssV4_0

{'score': 8.3, 'vector': 'CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N'}


Subscriptions

Telegram Desktop Telegram Desktop
cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published:

Updated: 2026-09-21T17:51:18.874Z

Reserved: 2026-09-21T17:29:01.000Z

Link: CVE-2026-94488

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-09-21T18:17:17.173

Modified: 2026-09-21T18:17:17.173

Link: CVE-2026-94488

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-21T18:30:17Z

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')