Description
telegram-search contains a stored cross-site scripting vulnerability that allows remote attackers to execute arbitrary JavaScript in victims' browsers by sending crafted messages containing unsanitized HTML to a shared Telegram group. The highlightKeyword function in MessageList.vue passes raw message content directly to v-html without HTML escaping or sanitization, enabling stored, cross-user, zero-click execution of injected payloads such as image onerror handlers when victims browse or search messages.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| GramSearch | telegram-search | ≤ 1.2.8 | — |
References
- Product Repository product
- GitHub Issue issue-tracking
- Patch Commit patch
- Pull Request technical-description patch
- https://www.vulncheck.com/advisories/telegram-search-stored-xss-via-v-html-in-messagelist-vue third-party-advisory