DOM XSS vulnerability in search dialogue (NC-SA-2017-007)
8th May 2017
Risk level: Low
CVSS v3 Base Score: 2.6 (AV:N/AC:H/PR:L/UI:R/S:U/C:L/I:N/A:N)
CWE: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') (CWE-79)
HackerOne report: 213227
Description
Inadequate escaping lead to XSS vulnerability in the search module. To be exploitable an user has to write or paste malicious content into the search dialogue.
Affected Software
- Nextcloud Server < 11.0.3 (CVE-2017-0890)
Action Taken
The content is now properly escaped, furthermore for Nextcloud 12 we have hardened jQuery to prevent such CSP bypasses.
Resolution
It is recommended that all instances are upgraded to Nextcloud 11.0.3.
Acknowledgements
The Nextcloud team thanks the following people for their research and responsible disclosure of the above advisory:
- Ahsan Khan - Vulnerability discovery and disclosure.
This advisory is licensed CC BY-SA 4.0.