CVE-2018-3780 Cross-site scripting in nextcloud/server
Authenticated users can inject malicious scripts into Nextcloud search results, 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
- Available
What is CVE-2018-3780?
CVE-2018-3780 is a medium-severity cross-site scripting vulnerability in Nextcloud Nextcloud Server, 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 Server <13.0.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-3780?
It affects 1 product.
Products include Nextcloud Nextcloud Server.
How do I fix CVE-2018-3780?
Upgrade to a fixed version.
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-3780 being exploited?
There is no known exploitation of CVE-2018-3780 in the wild and no public exploit code.
Other vulnerabilities in Nextcloud Nextcloud Server
- CVE-2021-32802 Preview generation used third-party library not suited for user-generated content in Nextcloud server
- CVE-2023-26482 Scope of workflow operations is not validated in nextcloud server
- CVE-2018-3775 Auth bypass in Nextcloud Server
- CVE-2023-35172 Nextcloud Server password reset endpoint is not brute force protected
- CVE-2023-32320 Nextcloud Server's brute force protection allows someone to send more requests than intended
Sources
Also known as GHSA-9qxg-6mvx-c4mc, MGASA-2018-0394.