CVE-2021-39221
JSON

6.4medium

XSS in Contacts

Severity
6.4medium CVSS:3.1 by GitHub_M
Exploit likelihood
0.52% (higher than 45% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M

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.

Affected

Product or packageVersionsReported by
nextcloud security-advisories< 4.0.3CVE List
nextcloud contactsbefore 4.0.3NVD

All scores

GitHub_M6.4medium CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:N
NVD5.4medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
NVD3.5low CVSS:2.0AV:N/AC:M/Au:S/C:N/I:P/A:N

Classification

What each source says

CVE List

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.

NVD (es)

Nextcloud es una plataforma de productividad de código abierto y auto-alojada. La aplicación Nextcloud Contacts versiones anteriores a 4.0.3, era vulnerable a una vulnerabilidad de tipo Cross-Site Scripting (XSS) almacenado. Para una explotación, un usuario tendría que hacer clic con el botón derecho del ratón en un archivo malicioso y abrir el archivo en una nueva pestaña. Debido a la estricta política de seguridad de contenidos incluida en Nextcloud, este problema no es explotable en los navegadores modernos que soportan la Política de Seguridad de Contenidos. Es recomendado actualizar la aplicación Nextcloud Contacts a la versión 4.0.3. Como solución, puede ser usado un navegador compatible con una Política de Seguridad de Contenidos

References

Sources

SourceRecordLicence
CVE ListCVE-2021-39221 changed 2024-08-04CVE Terms of Use
NVDCVE-2021-39221 changed 2026-06-17Public domain