CVE-2026-47733: Rocket.Chat: Missing URL protocol sanitization in ImageElement allows javascript: URLs in markdown images
CVE-2026-47733 affects 230 listed versions of Rocket.Chat in the Dawnsentry catalogue.
Affected products and versions
The versions in the Dawnsentry catalogue this CVE affects, judged from the vendor's own advisory where there is one, otherwise from the CVE record and NVD, as each version's own page says.
Rocket.Chat
230 of 250 listed versions are affected. Fixed in 8.5.0. The newest release, 9.0.0, is not affected.
8.4.6 8.4.5 8.4.4 8.4.3 8.4.2 8.4.1 8.4.0 8.3.8 8.3.7 8.3.6 8.3.5 8.3.4 8.3.3 8.3.2 8.3.1 8.3.0 8.3.0-rc4 8.3.0-rc3 8.3.0-rc2 8.3.0-rc1 8.3.0-rc0 8.2.8 8.2.7 8.2.6 8.2.5 8.2.4 8.2.3 8.2.2 8.2.1 8.2.0 8.2.0-rc2 8.2.0-rc1 8.2.0-rc0 8.1.8 8.1.7 8.1.6 8.1.5 8.1.4 8.1.3 8.1.2 8.1.1 8.1.0 8.0.8 8.0.7 8.0.6 8.0.5 8.0.4 8.0.3 8.0.2 8.0.1 8.0.0 8.0.0-rc5 8.0.0-rc4 8.0.0-rc3 8.0.0-rc2 8.0.0-rc1 8.0.0-rc0 7.13.9 7.13.8 7.13.7 and 170 more
What it is
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.
CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:N (GitHub)
Published by GitHub on 24 June 2026. Last changed 25 October 2026.
Sources
Check one version you run: look CVE-2026-47733 up, or pick a product and version in the quick lookup.
Updated 2 December 2026.