CVE-2021-40532: Telegram Web K Alpha - Stored XSS
- Cve: CVE-2021-40532
- Name: Telegram Web K Alpha - Stored XSS
- Description: Telegram Web K Alpha before 0.7.2 mishandles the characters in a document extension.
- Impact: Attackers can execute malicious scripts or cause unexpected behavior in affected Telegram Web versions.
- Remediation: Update to version 0.7.2 or later.
- Vulnerability type: stored_xss
- Vulnerability impact: client_script_exec
- Requirement type: user_interaction
- Requirements: User needs to open or interact with the malicious document
- Labels source: projectdiscovery
- Severity: critical
- Cvss score: 9.8
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Epss score: 0.01252
- Epss percentile: 0.70185
- Assignee: [email protected]
- Published at: 2021-09-06T21:15:07Z
- Age in days: 1905
- Modified at: 2026-06-17T04:07:06Z
- Patch available: yes
- References total: 1
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2021-40532
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
- Not known: hackerone
Cwe
| Id | Name |
|---|---|
| NVD-CWE-noinfo | — |
References
| Url | Source | Tags |
|---|---|---|
| https://github.com/morethanwords/tweb/commit/f224e459c36eb96b2cf9dba559a48b1f08d23330 | nvd | Patch, Third Party Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| telegram:web_k_alpha | < 0.7.2 | no | nvd | /v1/products/telegram/web_k_alpha |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| morethanwords/tweb | commit | yes | /v1/repositories/morethanwords/tweb |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts