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
- https://github.com/morethanwords/tweb/commit/2153ea9878668769faac8dd5931b7e0b96a9f129/src/components/popups/webApp.ts
- https://medium.com/%40pedbap/telegram-web-app-xss-session-hijacking-1-click-95acccdc8d90
- https://www.openwall.com/lists/oss-security/2024/04/28/4
- [oss-security] 20240430 Re: Telegram Web app XSS / Session Hijacking 1-click mailing-list