All vulnerabilities

Servers and applications

CVE-2021-22886

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.

Severity
Medium 6.1
Published
26 Mar 2021
Last changed
17 Jun 2026
Added to UpHeron
1 Nov 2026
Fixed in
3.8.8, 3.9.7, 3.10.5
Sources
NVD

Affected software

SoftwareAffected versions
Rocket.ChatServers and applications · cpe:a:rocket.chat:rocket.chat
  • Version 3.11.0-rc7
  • Version 3.11.0-rc6
  • Version 3.11.0-rc5
  • Version 3.11.0-rc4
All 11 release lines
  • Every version before 3.8.8
  • From 3.9.0 before 3.9.7
  • From 3.10.0 before 3.10.5
  • Version 3.11.0-rc0
  • Version 3.11.0-rc1
  • Version 3.11.0-rc2
  • Version 3.11.0-rc3
  • Version 3.11.0-rc4
  • Version 3.11.0-rc5
  • Version 3.11.0-rc6
  • Version 3.11.0-rc7

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2021-22886
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2021-22886