Vulnerabilities · 2021 · Rocket.chat
CVE-2021-22886
Rocket.chat vulnerability
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.
Affected products
Rocket.chat. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Rocket.chat runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- docs.rocket.chat/guides/security/security-updates · Vendor Advisory
- github.com/RocketChat/Rocket.Chat/pull/20430 · Patch
- hackerone.com/reports/1014459 · Third Party Advisory
- nvd.nist.gov/vuln/detail/CVE-2021-22886
- cve.org/CVERecord?id=CVE-2021-22886
More vulnerabilities in Rocket.chat products
CVE-2026-23477CVE-2025-7974CVE-2025-5892CVE-2024-47048CVE-2024-46935CVE-2024-46934CVE-2024-45621CVE-2024-39713All 52
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.