CVE-2021-22886Rocket.chat
Medium 6.1 No auth needed
Follow: this CVE · Rocket.chat · Rocket.chat We alert you by email or Slack (account required).
- Priority
- 52
- CVSS 3.1
- 6.1
- EPSS
- 1.9% probability of exploitation in 30 days · percentile 80
- Auth required
- No
- Published
- Mar 26, 2021
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-79
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
What happens
Rocket.Chat before 3.11, 3.10.5, 3.9.7, 3.8.8 is vulnerable to persistent cross-site scripting (XSS) using nested markdown tags allowing a remote attacker to inject arbitrary JavaScript in a message. This flaw leads to arbitrary file read and RCE on Rocket.Chat desktop app.
What to do
- Apply the vendor's security update for Rocket.chat.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| rocket.chat | rocket.chat | < 3.8.8 |
| rocket.chat | rocket.chat | ≥ 3.9.0 < 3.9.7 |
| rocket.chat | rocket.chat | ≥ 3.10.0 < 3.10.5 |
| rocket.chat | rocket.chat | 3.11.0 |
| rocket.chat | rocket.chat | 3.11.0 |
| rocket.chat | rocket.chat | 3.11.0 |
| rocket.chat | rocket.chat | 3.11.0 |
| rocket.chat | rocket.chat | 3.11.0 |
| rocket.chat | rocket.chat | 3.11.0 |
| rocket.chat | rocket.chat | 3.11.0 |
| rocket.chat | rocket.chat | 3.11.0 |
Official sources
References
Links published by the sources. Open them with care.
- docs.rocket.chat Vendor Advisory
- github.com Patch Third Party Advisory
- hackerone.com Third Party Advisory