CVE-2018-3781 Cross-site scripting in nextcloud/talk
Authenticated users can inject malicious scripts via unsanitized usernames in NextCloud Talk autocomplete, leading to stored XSS attacks against other users.
- 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-3781?
CVE-2018-3781 is a medium-severity cross-site scripting vulnerability in nextcloud/talk, published on 13 Aug 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 missing sanitization of search results for an autocomplete field in NextCloud Talk <3.2.5 could lead to a stored XSS requiring user-interaction. The missing sanitization only affected user names, hence malicious search results could only be crafted by authenticated users.
Weakness: CWE-79
Which versions are affected by CVE-2018-3781?
It affects 1 product.
Products include Nextcloud Talk.
How do I fix CVE-2018-3781?
No fix has been published for CVE-2018-3781 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-3781 being exploited?
There is no known exploitation of CVE-2018-3781 in the wild and no public exploit code.
Other vulnerabilities in nextcloud/talk
- CVE-2020-8180 Code injection in Nextcloud Talk
- CVE-2021-32689 Nextcloud Talk not properly disassociating users from chats after account deletion
- CVE-2023-39957 Path traversal allows tricking the Talk Android app into writing files into it's root directory
- CVE-2021-32676 Session Fixation in Nextcloud Talk
- CVE-2021-39222 XSS in Talk
Sources
Also known as GHSA-86ww-pfxr-g767.