Nextcloud · Report #1707977
XSS in Desktop Client via user status and information
Validstatus
lowseverity
5upvotes
25 Nov 2022disclosed
Summary
Security advisory at https://github.com/nextcloud/security-advisories/security/advisories/GHSA-q9f6-4r6r-h74p
How it was found
Summary:
The Nextcloud Desktop Client application does not properly neutralize the Full Name and Status Message of users before using them.
Steps To Reproduce:
Server Machine:
- Install the
Nextcloud Serverapplication - Log into your account
- Navigate to your profile page
- Set the
Full Nameof your user to<img src="https://avatars.githubusercontent.com/u/99037623"> - Set the
Status Messageof your user to<img src="https://avatars.githubusercontent.com/u/99037623">
Client Machine:
- Install the
Nextcloud Desktop Clientapplication onto a machine that is running theWindows 10operating system - Log into your account
- Open the main dialog window of the
Nextcloud Desktop Clientapplication - Observe that the
Full NameandStatus Messageof your user are treated asHyperText Markup Language
Supporting Material/References:
{F1945608}
Impact
An attacker can inject arbitrary HyperText Markup Language into the Nextcloud Desktop Client application.