# CVE-2026-47733: Rocket.Chat: Missing URL protocol sanitization in ImageElement allows javascript: URLs in markdown images

- Severity: Medium 4.4 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.14%, higher than 3% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-06-24T20:51:29.245Z
- Modified: 2026-10-25T22:10:00.150Z
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- RocketChat Rocket.Chat: < 8.5.0

## References

- <https://github.com/RocketChat/Rocket.Chat/security/advisories/GHSA-vvrf-fq54-q4pr> (exploit)

## Sources

- CVE List: [CVE-2026-47733](https://www.cve.org/CVERecord?id=CVE-2026-47733), CVE Terms of Use, modified 2026-06-25
- NVD: [CVE-2026-47733](https://nvd.nist.gov/vuln/detail/CVE-2026-47733), Public domain, modified 2026-10-25

---

Page: https://cve.day/CVE-2026-47733 · Whole record: https://cve.day/CVE-2026-47733.json · Rebuilt by cve.day 2026-11-25T22:59:25.739Z
