{"id":"CVE-2021-39221","published":"2021-10-25T19:05:10Z","modified":"2024-08-04T01:58:18Z","title":"XSS in Contacts","vendor":"nextcloud","product":"security-advisories","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.4,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00521,"percentile":0.45148,"provenance":"source"},"cwes":[{"id":"CWE-434","name":"Unrestricted Upload of File with Dangerous Type"},{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://github.com/nextcloud/security-advisories/security/advisories/GHSA-j6cx-mxqf-f9vc","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/nextcloud/contacts/pull/2407","tags":["x_refsource_MISC"]}],"priority":{"score":13.5,"factors":[{"name":"EPSS percentile","points":9.03},{"name":"CVSS severity","points":4.48}]},"vendorSlug":"nextcloud","affectedVersions":[{"vendor":"nextcloud","product":"security-advisories","versions":["< 4.0.3"]}],"euvd":{"id":"EUVD-2021-25594","exploited":false,"provenance":"source"}}