CVE-2018-13878 Cross-site scripting in n/a
Attackers can execute scripts via unescaped usernames in mentions, potentially stealing secret tokens from users and admins.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2018-13878?
CVE-2018-13878 is a medium-severity cross-site scripting vulnerability in Rocket.chat Rocket.chat, published on 11 Jul 2018. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
An XSS issue was discovered in packages/rocketchat-mentions/Mentions.js in Rocket.Chat before 0.65. The real name of a username is displayed unescaped when the user is mentioned (using the @ symbol) in a channel or private chat. Consequently, it is possible to exfiltrate the secret token of every user and also admins in the channel.
Weakness: CWE-79
Which versions are affected by CVE-2018-13878?
It affects 1 product.
Products include Rocket.chat Rocket.chat.
How do I fix CVE-2018-13878?
No fix has been published for CVE-2018-13878 yet. Limit exposure of the affected software until one is available.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2018-13878 being exploited?
There is no known exploitation of CVE-2018-13878 in the wild and no public exploit code.
Other vulnerabilities in Rocket.chat Rocket.chat
Sources
Also known as GHSA-8f7m-2hjp-gccx.