[FIX] Not escaping special chars on mentions by erhan- · Pull Request #10793 · RocketChat/Rocket.Chat
One of the XSS is happening when the "Use Real Name" setting is enabled. You can change your display name to this for example:
<svg onload=alert(69)>
And then mention yourself with ...
GitHub