{"id":"CVE-2026-47733","published":"2026-06-24T20:51:29Z","modified":"2026-06-25T14:46:51Z","title":"Rocket.Chat: Missing URL protocol sanitization in ImageElement allows javascript: URLs in markdown images","vendor":"RocketChat","product":"Rocket.Chat","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":4.4,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00141,"percentile":0.03519,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://github.com/RocketChat/Rocket.Chat/security/advisories/GHSA-vvrf-fq54-q4pr","tags":["x_refsource_CONFIRM"]}],"priority":{"score":3.8,"factors":[{"name":"EPSS percentile","points":0.7},{"name":"CVSS severity","points":3.08}]},"vendorSlug":"rocketchat","affectedVersions":[{"vendor":"RocketChat","product":"Rocket.Chat","versions":["< 8.5.0"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-06-25T14:46:27.021719Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-39089","exploited":false,"provenance":"source"}}