CVE-2024-33905: tweb · Cross-site Scripting
Affects twebSource CVE Database V5
Not known to be exploited · CVSS 4.6 Medium : upgrade to 2.0.0 when convenient.
Data as of 26 Oct 2026, 14:05 UTC
- EPSS
- 1.0% chance of exploitation in 30 days – higher than 64% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 2.0.0
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:LExploitation evidence
Disclosed: evidence found.
CVE published 29 Apr 2024
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
What to do
Upgrade morethanwords/tweb to 2.0.0.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
GitHubmorethanwords/twebpkg:github/morethanwords/twebOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
- Update Telegram WebK to version 2.0.0 (488) or later as soon as an official patch is released to address this vulnerability.
- Until patching is possible, restrict or disable the use of Mini Web Apps within Telegram WebK where feasible, especially in high-risk environments.
- Implement strict Content Security Policies (CSP) to limit the execution of unauthorized scripts and reduce the impact of XSS attacks.
- Educate users to be cautious when interacting with Mini Web Apps or links within Telegram WebK, emphasizing the risk of malicious content.
- Monitor Telegram WebK usage and network traffic for unusual activity that could indicate exploitation attempts.
- Encourage the Telegram development team to provide timely patches and security advisories to users.
- Employ browser security features such as sandboxing and script blocking extensions to mitigate potential attack vectors.
Description
In Telegram WebK before 2.0.0 (488), a crafted Mini Web App allows XSS via the postMessage web_app_open_link event type.
References
- github.com/morethanwords/tweb/commit/2153ea9878668769faac8dd5931b7e0b96a9f129/src/components/popups/webApp.ts (opens in a new tab)
- medium.com/%40pedbap/telegram-web-app-xss-session-hijacking-1-click-95acccdc8d90 (opens in a new tab)
- openwall.com/lists/oss-security/2024/04/28/4 (opens in a new tab)
- openwall.com/lists/oss-security/2024/04/30/4 (opens in a new tab)