Servers and applications
CVE-2026-47733
Missing URL protocol sanitization in ImageElement allows javascript: URLs in markdown images
- Severity
- Low
- Published
- 11 Jun 2026
- Last changed
- 11 Jun 2026
- Added to UpHeron
- 3 Nov 2026
- Fixed in
- 8.5.0
- Exploit chance
- 0.1% in the next 30 daysHigher than 3% of CVEs. EPSS by FIRST, 19 Nov 2026
- Also known as
- GHSA-vvrf-fq54-q4pr
- Sources
- Project advisories (GitHub)
Description
The ImageElement component in packages/gazzodown renders user-controlled src values directly into and 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.
The ImageElement component renders the src prop directly into the href attribute of an tag without any protocol sanitization:
- An authenticated user posts a message containing )
- The message parser (packages/message-parser) parses this as an IMAGE node. The grammar's URLScheme rule ($([A-Za-z0-9+-] |1..32| ":")) accepts javascript: as a valid scheme. The MarkdownLinkFilePath alternative matches the full URL.
Affected software
| Software | Affected versions |
|---|---|
Rocket.ChatServers and applications · github:rocketchat/rocket.chat |
|
About Rocket.Chat
open source team chat platform
- Docker Hub pulls
- 100,039,688Docker Hub, 15 Nov 2026
- GitHub stars
- 46,534GitHub, 15 Nov 2026
- Forks
- 14,157GitHub, 15 Nov 2026
- Latest release
- 9.0.0GitHub, 15 Nov 2026
- Released
- 10 Nov 2026GitHub
- License
- MIT LicenseWikidata
- Written in
- TypeScriptWikidata
- First published on GitHub
- 19 May 2015GitHub
Website Source code Docker image
Release lines
| Release | Latest | Security fixes |
|---|---|---|
| 8.9 (LTS)LTS | 8.9.1 | Until 31 Oct 2027 |
| 8.8 | 8.8.2 | Until 1 Mar 2027 |
| 8.7 | 8.7.2 | Until 31 Jan 2027 |
| 8.6 | 8.6.4 | Until 31 Jan 2027 |
| 8.5 (LTS)LTS | 8.5.5 | Until 31 Jul 2027 |
| 8.4 | 8.4.6 | Ended 31 Oct 2026 |
From endoflife.date.
Vulnerabilities in Rocket.Chat
- In our list
- 77
- Published in the last 12 months
- 30
- Critical, last 12 months
- 7
- High, last 12 months
- 9
- Known exploited
- 0
- CVE-2021-48022Rocket.Chat < 3.13.2 Unauthenticated IDOR via livechat:loadHistoryHigh 8.7 18 Nov 2026
- CVE-2026-65645Rocket.Chat in versions before 8.8.0, 8.7.1, 8.6.2, 8.5.3, 8.4.6. 8.3.8, 8.2.8, 8.1.8, and 7.10.15, the Meteor DDP methods getThreadsList and getThreadMessages accept rid / tmid as raw, untyped parameters with no schema validation. A MongoDB operator object (e.g. {"$gt": "4"}) can be substituted for a string room-id or message-id. The authorization check resolves to a room the attacker already…Medium 4.3 21 Aug 2026
- CVE-2026-65644Rocket.Chat in versions before 8.8.0, 8.7.1, 8.6.2, 8.5.3, 8.4.6, 8.3.8, 8.2.8, 8.1.8, and 7.10.15 has a REST API endpoint POST /api/v1/livechat/visitor that accepts an unauthenticated, unsanitized name field for Livechat visitors. This name is stored raw and later rendered via dangerouslySetInnerHTML in the Omnichannel Queue side panel (InquireSidePanelItem.tsx), injecting a real, clickable…High 7.5 21 Aug 2026
- GHSA-r3v3-v742-55j5Arbitrary notify-user event injection via stream-notify-room-users forward (incomplete fix of GHSA-27jx)Medium 5.4 20 Aug 2026
- GHSA-6x96-99rg-wg67Blind Server-Side Request Forgery (SSRF) In The downloadPublicImportFile EndpointMedium 20 Aug 2026
- GHSA-7c6v-m68v-v73rsendForgotPasswordEmail Meteor Method Lacks DDP Rate LimitLow 20 Aug 2026
References
- CVE.org https://www.cve.org/CVERecord?id=CVE-2026-47733
- GitHub Advisory Database https://github.com/advisories/GHSA-vvrf-fq54-q4pr
- github.com https://github.com/RocketChat/Rocket.Chat/security/advisories/GHSA-vvrf-fq54-q4pr