Skip to content

CVE-2021-39221 XSS in Contacts

MediumCVSS 5.4 EPSS 0.52%
Published
Updated
Exploit status
No public exploit known

Description

Nextcloud is an open-source, self-hosted productivity platform. The Nextcloud Contacts application prior to version 4.0.3 was vulnerable to a stored Cross-Site Scripting (XSS) vulnerability. For exploitation, a user would need to right-click on a malicious file and open the file in a new tab. Due the strict Content-Security-Policy shipped with Nextcloud, this issue is not exploitable on modern browsers supporting Content-Security-Policy. It is recommended that the Nextcloud Contacts application is upgraded to 4.0.3. As a workaround, one may use a browser that has support for Content-Security-Policy.

Upgrade path

2 packages: 1 fixed.

PackageAffectedFixed inStatus
Nextcloud contacts < 4.0.3 4.0.3 Fixed
Nextcloud security-advisories = < 4.0.3 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
Nextcloud contacts < 4.0.3 4.0.3
Nextcloud security-advisories = < 4.0.3 No fix listed

References