CVE-2018-13879 Cross-site scripting in n/a
Reflected XSS in Rocket.Chat registration allows attackers to execute scripts via unescaped username error messages.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2018-13879?
CVE-2018-13879 is a medium-severity cross-site scripting vulnerability in Rocket.chat Rocket.chat, published on 11 Jul 2018. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.
Official description
A reflected XSS issue was discovered in the registration form in Rocket.Chat before 0.66. When one creates an account, the next step will ask for a username. This field will not save HTML control characters but an error will be displayed that shows the attempted username unescaped via packages/rocketchat-ui-login/client/username/username.js in packages/rocketchat-ui-login/client/username/username.html.
Weakness: CWE-79
Which versions are affected by CVE-2018-13879?
It affects 1 product.
Products include Rocket.chat Rocket.chat.
How do I fix CVE-2018-13879?
No fix has been published for CVE-2018-13879 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-13879 being exploited?
There is no known exploitation of CVE-2018-13879 in the wild and no public exploit code.
Other vulnerabilities in Rocket.chat Rocket.chat
Sources
Also known as GHSA-jf3p-59jq-4gpv.