Vulnerability database / CVE-2021-22886
CVE-2021-22886
MEDIUM 6.1 CVSS 3.1 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.
Published 26 Mar 2021
Last modified 17 Jun 2026 Assigned by support@hackerone.com NVD status Modified Weakness
CWE-79 Sources
NVD JSON Scores
Source Scored by Version Score Vector / decision
NVD
nvd@nist.gov (Primary)
CVSS 3.1
MEDIUM 6.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:NNVD
nvd@nist.gov (Primary)
CVSS 2.0
MEDIUM 4.3
AV:N/AC:M/Au:N/C:N/I:P/A:N
Affected
Source Vendor / ecosystem Product / package Affected versions Fixed in
NVD
rocket.chat
rocket.chatcpe:2.3:a:rocket.chat:rocket.chat:*:*:*:*:*:*:*:*
< 3.8.8
3.8.8 NVD
rocket.chat
rocket.chatcpe:2.3:a:rocket.chat:rocket.chat:*:*:*:*:*:*:*:*
>= 3.9.0, < 3.9.7
3.9.7 NVD
rocket.chat
rocket.chatcpe:2.3:a:rocket.chat:rocket.chat:*:*:*:*:*:*:*:*
>= 3.10.0, < 3.10.5
3.10.5 NVD
rocket.chat
rocket.chatcpe:2.3:a:rocket.chat:rocket.chat:3.11.0:rc0:*:*:*:*:*:*
= 3.11.0
NVD
rocket.chat
rocket.chatcpe:2.3:a:rocket.chat:rocket.chat:3.11.0:rc1:*:*:*:*:*:*
= 3.11.0
NVD
rocket.chat
rocket.chatcpe:2.3:a:rocket.chat:rocket.chat:3.11.0:rc2:*:*:*:*:*:*
= 3.11.0
NVD
rocket.chat
rocket.chatcpe:2.3:a:rocket.chat:rocket.chat:3.11.0:rc3:*:*:*:*:*:*
= 3.11.0
NVD
rocket.chat
rocket.chatcpe:2.3:a:rocket.chat:rocket.chat:3.11.0:rc4:*:*:*:*:*:*
= 3.11.0
NVD
rocket.chat
rocket.chatcpe:2.3:a:rocket.chat:rocket.chat:3.11.0:rc5:*:*:*:*:*:*
= 3.11.0
NVD
rocket.chat
rocket.chatcpe:2.3:a:rocket.chat:rocket.chat:3.11.0:rc6:*:*:*:*:*:*
= 3.11.0
NVD
rocket.chat
rocket.chatcpe:2.3:a:rocket.chat:rocket.chat:3.11.0:rc7:*:*:*:*:*:*
= 3.11.0
References
History
25 Nov 2026 20:32 UTC · NVD: first stored (published 26 Mar 2021)