{"id":"CVE-2026-47733","aliases":["CVE-2026-47733"],"related":[],"kind":"vulnerability","state":"published","title":"Rocket.Chat: Missing URL protocol sanitization in ImageElement allows javascript: URLs in markdown images","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"es","text":"Rocket.Chat es una plataforma de comunicaciones de código abierto, segura y totalmente personalizable. Antes de 8.5.0, el componente ImageElement en packages/gazzodown renderiza valores src controlados por el usuario directamente en los atributos <a href> y <img src> sin sanitización de protocolo. A diferencia del componente análogo LinkSpan - que utiliza sanitizeUrl para bloquear los protocolos javascript_disabled: , data: y vbscript: - ImageElement pasa la URL sin procesar sin cambios. Un usuario autenticado puede publicar una imagen markdown con una URL javascript_disabled: que, si se hace clic en un navegador antiguo, ejecutaría JavaScript arbitrario en la sesión del espectador. Esta vulnerabilidad está corregida en 8.5.0.","source":"nvd"}],"published":"2026-06-24T20:51:29.245Z","modified":"2026-10-25T22:10:00.150Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:N","score":4.4,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:N","score":4.4,"rating":"MEDIUM"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"version":"< 8.5.0","status":"affected"}],"vendor":"RocketChat","product":"Rocket.Chat","source":"cvelist"}],"references":[{"url":"https://github.com/RocketChat/Rocket.Chat/security/advisories/GHSA-vvrf-fq54-q4pr","tags":["exploit","x-refsource-confirm"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"partial","date":"2026-06-25T14:46:27.021Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-47733","url":"https://www.cve.org/CVERecord?id=CVE-2026-47733","licence":"CVE Terms of Use","modified":"2026-06-25T14:46:51.318Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-47733","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-47733","licence":"Public domain","modified":"2026-10-25T22:10:00.150Z"}],"updatedAt":"2026-11-25T22:59:25.739Z","epss":{"score":0.00141,"percentile":0.03665,"date":"2026-12-01T12:00:22.000Z"}}