{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-94488",
        "assignerOrgId": "8254265b-2729-46b6-b9e3-3dfca2d5bfca",
        "state": "PUBLISHED",
        "assignerShortName": "mitre",
        "dateReserved": "2026-09-21T17:29:01.000Z",
        "datePublished": "2026-09-21T17:29:01.776Z",
        "dateUpdated": "2026-09-21T17:51:18.874Z"
    },
    "containers": {
        "cna": {
            "affected": [
                {
                    "defaultStatus": "unaffected",
                    "modules": [
                        "export_output_html.cpp (HTML chat-export module)"
                    ],
                    "platforms": [
                        "Windows",
                        "MacOS",
                        "Linux"
                    ],
                    "product": "Telegram Desktop",
                    "programFiles": [
                        "Telegram/SourceFiles/export/output/export_output_html.cpp"
                    ],
                    "programRoutines": [
                        {
                            "name": "HtmlWriter::Wrap::pushMessage"
                        }
                    ],
                    "repo": "https://github.com/telegramdesktop/tdesktop",
                    "vendor": "Telegram",
                    "versions": [
                        {
                            "lessThan": "6.9.4",
                            "status": "affected",
                            "version": "4.15.1",
                            "versionType": "semver"
                        }
                    ]
                }
            ],
            "descriptions": [
                {
                    "lang": "en",
                    "value": "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)."
                }
            ],
            "metrics": [
                {
                    "cvssV4_0": {
                        "Automatable": "NOT_DEFINED",
                        "Recovery": "NOT_DEFINED",
                        "Safety": "NOT_DEFINED",
                        "attackComplexity": "LOW",
                        "attackRequirements": "NONE",
                        "attackVector": "LOCAL",
                        "baseScore": 8.3,
                        "baseSeverity": "HIGH",
                        "privilegesRequired": "NONE",
                        "providerUrgency": "NOT_DEFINED",
                        "subAvailabilityImpact": "NONE",
                        "subConfidentialityImpact": "NONE",
                        "subIntegrityImpact": "NONE",
                        "userInteraction": "ACTIVE",
                        "valueDensity": "NOT_DEFINED",
                        "vectorString": "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",
                        "version": "4.0",
                        "vulnAvailabilityImpact": "NONE",
                        "vulnConfidentialityImpact": "HIGH",
                        "vulnIntegrityImpact": "HIGH",
                        "vulnerabilityResponseEffort": "NOT_DEFINED"
                    },
                    "format": "CVSS",
                    "scenarios": [
                        {
                            "lang": "en",
                            "value": "GENERAL"
                        }
                    ]
                },
                {
                    "cvssV3_1": {
                        "attackComplexity": "LOW",
                        "attackVector": "LOCAL",
                        "availabilityImpact": "NONE",
                        "baseScore": 8.2,
                        "baseSeverity": "HIGH",
                        "confidentialityImpact": "HIGH",
                        "integrityImpact": "HIGH",
                        "privilegesRequired": "NONE",
                        "scope": "CHANGED",
                        "userInteraction": "REQUIRED",
                        "vectorString": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N",
                        "version": "3.1"
                    },
                    "format": "CVSS",
                    "scenarios": [
                        {
                            "lang": "en",
                            "value": "GENERAL"
                        }
                    ]
                }
            ],
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "cweId": "CWE-79",
                            "description": "CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')",
                            "lang": "en",
                            "type": "CWE"
                        }
                    ]
                }
            ],
            "providerMetadata": {
                "orgId": "8254265b-2729-46b6-b9e3-3dfca2d5bfca",
                "shortName": "mitre",
                "dateUpdated": "2026-09-21T17:29:01.776Z"
            },
            "references": [
                {
                    "name": "tdesktop commit 8457d13a - Fix escaping in HTML export of keyboards",
                    "tags": [
                        "patch"
                    ],
                    "url": "https://github.com/telegramdesktop/tdesktop/commit/8457d13aa795fadf99c955d2a04f00ebc3c59df9"
                },
                {
                    "name": "tdesktop commit 52c779bf - Added support of inline markup reply to HTML export (introduces the issue)",
                    "tags": [
                        "related"
                    ],
                    "url": "https://github.com/telegramdesktop/tdesktop/commit/52c779bffa8dde3c5c09826add2607328fae0924"
                },
                {
                    "name": "Telegram Desktop v6.9.4 - first release containing the fix",
                    "tags": [
                        "release-notes"
                    ],
                    "url": "https://github.com/telegramdesktop/tdesktop/releases/tag/v6.9.4"
                },
                {
                    "name": "Vulnerable export_output_html.cpp as shipped in v6.9.3",
                    "tags": [
                        "related"
                    ],
                    "url": "https://github.com/telegramdesktop/tdesktop/blob/v6.9.3/Telegram/SourceFiles/export/output/export_output_html.cpp"
                },
                {
                    "name": "Expatch LLC technical write-up",
                    "tags": [
                        "third-party-advisory",
                        "technical-description",
                        "exploit"
                    ],
                    "url": "https://expatch.com/writeups/telegram-html-export-xss.html"
                },
                {
                    "tags": [
                        "media-coverage"
                    ],
                    "url": "https://thehackernews.com/2026/09/telegram-desktop-flaw-lets-hidden.html"
                }
            ],
            "x_generator": {
                "engine": "CVE-Request-form 0.0.1"
            },
            "cpeApplicability": [
                {
                    "nodes": [
                        {
                            "operator": "OR",
                            "negate": false,
                            "cpeMatch": [
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:a:telegram:telegram_desktop:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.15.1",
                                    "versionEndExcluding": "6.9.4"
                                }
                            ]
                        }
                    ]
                }
            ]
        },
        "adp": [
            {
                "metrics": [
                    {
                        "other": {
                            "type": "ssvc",
                            "content": {
                                "timestamp": "2026-09-21T17:51:08.525648Z",
                                "id": "CVE-2026-94488",
                                "options": [
                                    {
                                        "Exploitation": "poc"
                                    },
                                    {
                                        "Automatable": "no"
                                    },
                                    {
                                        "Technical Impact": "total"
                                    }
                                ],
                                "role": "CISA Coordinator",
                                "version": "2.0.3"
                            }
                        }
                    }
                ],
                "title": "CISA ADP Vulnrichment",
                "providerMetadata": {
                    "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
                    "shortName": "CISA-ADP",
                    "dateUpdated": "2026-09-21T17:51:18.874Z"
                }
            }
        ]
    }
}