Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAttacker authenticates to Rocket.Chat instance
-
DeliveryPosts Markdown image with javascript: URI as src in shared channel
-
ExploitVictim views message on legacy browser
-
ExecutionVictim clicks rendered image link
-
PersistJavaScript executes in victim's browser session
-
ImpactSession 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 ). 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:N
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.
Primary rating from Vendor (github).
CVSS VectorVendor: github
Lifecycle Timeline
1DescriptionCVE.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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
EUVD-2026-39089
NVD
CVE.org
EPSS
Vulnrichment
GitHub
Exploit-DB