Lucene search

K
nextcloudZhouyuan YangNC-SA-2021-005
HistoryJan 25, 2021 - 12:00 a.m.

Reflected XSS when renaming malicious file (NC-SA-2021-005)

2021-01-2500:00:00
Zhouyuan Yang
nextcloud.com
7

Missing sanitization in Nextcloud Server 20.0.5 and prior allowed to perform a reflected XSS when saving html as file name and causing an error on rename e.g. by renaming to an existing file. The risk is mostly mitigated due to the strict Content-Security-Policy (CSP) of Nextcloud, and thus mainly targets browsers not supporting CSP such as Internet Explorer.

CPENameOperatorVersion
nextcloud serverlt20.0.6