Home

Description

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.

PUBLISHED Reserved 2026-05-19 | Published 2026-06-24 | Updated 2026-06-25 | Assigner GitHub_M




MEDIUM: 4.4CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:N

Problem types

CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Product status

< 8.5.0
affected

References

github.com/...t.Chat/security/advisories/GHSA-vvrf-fq54-q4pr exploit

github.com/...t.Chat/security/advisories/GHSA-vvrf-fq54-q4pr

cve.org (CVE-2026-47733)

nvd.nist.gov (CVE-2026-47733)

Download JSON