XSS through image upload of contacts using svg file (NC-SA-2020-045)
20th October 2020
Risk level: Low
CVSS v3 Base Score: 5.5 (AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L)
CWE: Cross-site Scripting (XSS) - Stored (CWE-79)
HackerOne report: 894876
Description
A missing file type check in Nextcloud Contacts 3.3.0 allowed a malicious user to upload malicious SVG files to perform XSS attacks.
Affected Software
- Nextcloud Contacts < 3.4.0 (CVE-2020-8281)
Action Taken
The error has been fixed.
Resolution
It is recommended that the Nextcloud Contacts is upgraded to 3.4.0.
Acknowledgements
The Nextcloud team thanks the following people for their research and responsible disclosure of the above advisory:
- Tommy Suriel - Vulnerability discovery and disclosure.
This advisory is licensed CC BY-SA 4.0.