{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2021-39221","published":"2021-10-25T19:15:09.730000Z","last_modified":"2026-06-17T04:03:20.530000Z","status":"Modified","cvss":{"version":"3.1","score":5.4,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","source":"nvd@nist.gov","primary":true},"auth":true,"cwes":["CWE-79","CWE-434"],"cpes":[{"criteria":"cpe:2.3:a:nextcloud:contacts:*:*:*:*:*:*:*:*","part":"a","vendor":"nextcloud","product":"contacts","version_end_excluding":"4.0.3"}],"cpes_truncated":false,"vendors":["nextcloud"],"products":["nextcloud/contacts"],"epss":{"score":0.00521,"percentile":0.37584,"date":"2026-11-29","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[],"severity":"medium","priority_score":32,"links":{"html_es":"/es/cve/CVE-2021-39221/","html_en":"/en/cve/CVE-2021-39221/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-39221","cve_org":"https://www.cve.org/CVERecord?id=CVE-2021-39221"},"untrusted":{"vendor_name":"Nextcloud","product_name":"Contacts","desc_en":"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":[{"untrusted_vendor":"nextcloud","untrusted_product":"security-advisories","versions":[]}],"references":[{"url":"https://github.com/nextcloud/contacts/pull/2407","tags":["Third Party Advisory"]},{"url":"https://github.com/nextcloud/security-advisories/security/advisories/GHSA-j6cx-mxqf-f9vc","tags":["Third Party Advisory"]}]}}