Skip to main content

telegram-search EUVDEUVD-2026-56889

| CVE-2026-73031 HIGH
Cross-site Scripting (XSS) (CWE-79)
2026-08-11 disclosure@vulncheck.com GHSA-r9w2-wp2g-mfgm
8.2
CVSS 4.0 · Vendor: vulncheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Join target Telegram group as low-privilege member
  2. Delivery
    Send message containing crafted HTML XSS payload
  3. Exploit
    Victim navigates to telegram-search message view or search results
  4. Execution
    highlightKeyword processes raw message content via v-html without escaping
  5. Persist
    Injected JavaScript executes in victim's browser
  6. Impact
    Session tokens or displayed data exfiltrated to attacker

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

The attacker must hold membership in the same Telegram group that is indexed by the target telegram-search deployment - this is the sole access prerequisite and the primary limiting factor, as it prevents unauthenticated external attackers from injecting payloads. The victim must navigate to the telegram-search web interface and load a message view or execute a search that causes the highlightKeyword function to process the injected message - the payload does not fire on message receipt alone, only when the message is rendered through the vulnerable Vue component. The telegram-search instance must be running version 1.2.8 or earlier. No special server-side configuration, non-default settings, or elevated privileges are required beyond basic group membership; the vulnerability is present in the default deployment. Exploitation is further limited by the self-hosted nature of the product: each deployment is scoped to a specific organization or user, so compromise is bounded to that deployment's group membership and accessible data.

Impact

The CVSS 4.0 score of 8.2 with vector AV:N/AC:L/AT:N/PR:L/UI:A/VC:H/VI:N/VA:N/SC:H/SI:N/SA:N accurately reflects the attack profile. PR:L is the primary friction point: the attacker must be a member of the same Telegram group indexed by the deployment, which meaningfully limits exposed population compared to PR:N vulnerabilities. UI:A (victim must navigate to the message view) prevents fully automated mass exploitation. High confidentiality impact on both the vulnerable system (VC:H - victim browser, session tokens, locally displayed data) and the subsequent system (SC:H - cross-user data accessible to injected script) correctly captures the stored, cross-user nature of the attack. No EPSS data was present in the source intelligence. No CISA KEV listing exists, so active exploitation is not confirmed. However, the fix commit and PR are publicly visible and the XSS technique (img onerror payload) is elementary, meaning any group member with basic XSS knowledge can weaponize this immediately against co-members. Real-world risk is moderate-to-high within affected deployments - primarily driven by the potential for session hijacking - but the product's niche footprint and group-membership prerequisite prevent internet-scale opportunistic exploitation.

Exploit ScenarioDerived

An attacker who has joined a shared Telegram group indexed by a vulnerable telegram-search instance sends a message containing a payload such as an img tag with an onerror attribute that beacons session cookies or tokens to an attacker-controlled server. When any other group member opens the telegram-search web UI and the message list or search results are rendered, the highlightKeyword function processes the message and v-html injects it as live HTML into the DOM, silently executing the JavaScript in the victim's browser context without any additional user interaction beyond navigating to the page. The public fix commit (PR #654) fully documents the vulnerable code path, providing a complete technical blueprint for constructing a working payload.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.4% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Aug 11, 2026

Stored XSS in telegram-search (versions ≤ 1.2.8) allows any group member to execute arbitrary JavaScript in co-members' browsers by sending crafted messages to a shared Telegram group. The highlightKeyword function in MessageList.vue returned attacker-controlled message text directly to Vue's v-html directive without HTML escaping, creating a persistent, cross-user sink that fires when victims browse or search the message archive - zero clicks required on the victim's side beyond opening the interface. No public exploit has been confirmed as actively exploited and no CISA KEV listing exists, but the public fix commit (PR #654) fully documents the vulnerable code path, making payload construction trivial for any XSS-proficient attacker with group access.

RemediationAI

Apply the fix introduced in commit 54f6adced844ce9990228d75e31348bfed934e05 (https://github.com/groupultra/telegram-search/commit/54f6adced844ce9990228d75e31348bfed934e05), which is also available via PR #654 (https://github.com/GramSearch/telegram-search/pull/654). A specific patched release tag (e.g., 1.2.9) was not confirmed in the available data - verify against the repository's release page before deploying in production. If an immediate upgrade is not possible, the most effective compensating control is to restrict write access in the shared Telegram group to fully trusted members, eliminating the attacker's ability to inject payloads - note this may limit group functionality. Alternatively, disabling the message browse and search interface entirely removes the highlightKeyword code path; this eliminates the product's core value but fully closes the attack surface. Deploying a Content Security Policy header with script-src 'self' and blocking inline scripts would mitigate onerror-style XSS payloads but is not a complete control, as other XSS sinks or script-based payloads could remain exploitable, and CSP configuration errors can create false confidence.

Affected VersionsENISA

telegram-search 0 ≤1.2.8

Affected Packages

euvd telegram_search no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

telegram-search is a self-hosted Vue 3 web application that indexes and searches Telegram message history. The vulnerability is in apps/web/src/components/messages/MessageList.vue: the highlightKeyword function accepted raw message text, applied a regex substitution to wrap keyword matches in highlight spans, and returned the result bound to Vue's v-html directive. Vue's v-html performs direct innerHTML assignment and intentionally bypasses Vue's template-level escaping - it is documented as unsafe for untrusted content. Because attacker-controlled Telegram message content reached this sink without prior HTML entity encoding, payloads such as img onerror handlers were rendered as live HTML in the victim's DOM. CWE-79 (Improper Neutralization of Input During Web Page Generation) is the root cause: unsanitized external data (Telegram message content) flowed to a dangerous innerHTML sink. The fix in commit 54f6adced844ce9990228d75e31348bfed934e05 introduces an escapeHtml function encoding the five HTML metacharacters (& < > " ') and applies it to both the message text and the search keyword before any regex substitution, closing both the display and search-highlight injection paths.

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (vulncheck) PRIMARY 8.2 HIGH
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:A/VC:H/VI:N/VA:N/SC:H/SI:N/SA:N
vuln.today AI 6.8 MEDIUM

PR:L for required group membership; UI:R as victim must load the message view; S:C and C:H for cross-user session token exfiltration; no integrity or availability impact confirmed in description.

3.1 AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:N/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:A/VC:H/VI:N/VA:N/SC:H/SI:N/SA:N

Primary rating from Vendor (vulncheck).

CVSS VectorVendor: vulncheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
Active
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
None
Vulnerable system: Availability
None
Subsequent system: Confidentiality
High
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

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.

Executive ViewAI

Why It Matters

telegram-search versions 1.2.8 and earlier contain a stored cross-site scripting vulnerability that allows authenticated group members to inject malicious JavaScript affecting all co-members viewing messages or searching archives. With no vendor patch currently available and the vulnerable code publicly documented, this poses a material risk to organizations using telegram-search, potentially enabling credential theft, data exfiltration, or malware deployment within affected collaboration groups.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations include: implement Content Security Policy headers to block inline scripts; restrict access to authenticated users within network-segmented environments; disable message archive search and filtering features; deploy application logging to detect JavaScript/XSS patterns in messages; and consider offline storage of affected installations until patches are released. Monitor vendor advisory and PR #654 closely for patch availability.

Threat Intelligence Overview

EPSS Score
0.4%
Top 71% exploitable
Prevalence
Low
niche self-hosted Telegram message search tool
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.4%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

41
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +41
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy