Nextcloud · Report #1668028
XSS in Desktop Client in the notifications
Validstatus
lowseverity
$750bounty
50upvotes
25 Nov 2022disclosed
Summary
Security advisory at https://github.com/nextcloud/security-advisories/security/advisories/GHSA-c3xh-q694-6rc5
How it was found
Summary:
The Nextcloud Desktop Client application does not properly neutralize the names of files before using them.
Steps To Reproduce:
Server Machine
- Install the
Nextcloud Serverapplication - Log into your account
Client Machine
- Install the
Nextcloud Desktop Clientapplication onto a machine that is running theWindows 10operating system - Log into your account
Server Machine
- Upload any file to your
Nextcloud Serverinstance - Rename the file that you uploaded to
<h1><b><i><u>MikeIsAStar
Client Machine
- Wait until a notification appears exclaiming that some files could not synchronized
- Open the main dialog window of the
Nextcloud Desktop Clientapplication - Observe that the name of the file that you uploaded is treated as
HyperText Markup Language
Supporting Material/References:
{F1864812}
Impact
An attacker can inject arbitrary HyperText Markup Language into the Nextcloud Desktop Client application.