---
id: CVE-2026-94488
title: Telegram Desktop before 6.9.4 allows XSS in the HTML exporter
summary: >-
  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. How…
severity: high
cvss: 8.2
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N'
cwe:
  - CWE-79
vendor: Telegram
product: Telegram Desktop
affected:
  - desktop >= 4.15.1 < 6.9.4
published: '2026-09-21'
updated: '2026-09-22'
sourceUpdated: '2026-09-22T19:56:19.073'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-94488'
references:
  - url: 'https://expatch.com/writeups/telegram-html-export-xss.html'
    label: cve@mitre.org
  - url: >-
      https://github.com/telegramdesktop/tdesktop/blob/v6.9.3/Telegram/SourceFiles/export/output/export_output_html.cpp
    label: cve@mitre.org
  - url: >-
      https://github.com/telegramdesktop/tdesktop/commit/52c779bffa8dde3c5c09826add2607328fae0924
    label: cve@mitre.org
  - url: >-
      https://github.com/telegramdesktop/tdesktop/commit/8457d13aa795fadf99c955d2a04f00ebc3c59df9
    label: cve@mitre.org
  - url: 'https://github.com/telegramdesktop/tdesktop/releases/tag/v6.9.4'
    label: cve@mitre.org
  - url: 'https://thehackernews.com/2026/09/telegram-desktop-flaw-lets-hidden.html'
    label: cve@mitre.org
tags:
  - nvd
  - cve.org
  - exploit-available
epss: 0.00197
epssPercentile: 0.08367
exploitAvailable: true
ssvc:
  exploitation: poc
  automatable: 'no'
  technicalImpact: total
  timestamp: '2026-09-21T17:51:08.525648Z'
ingestedAt: '2026-09-21T17:49:53.179Z'
---

## Overview

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).

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
