{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2021-39221","id":"CVE-2021-39221","title":"XSS in Contacts","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 bro","descriptionLong":"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.","published":"2021-10-25T19:05:10.000Z","updated":"2026-10-20T10:54:53.697928441Z","reserved":"2021-08-16T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":6.4,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:N","rating":"medium","source":"GitHub_M"},"metrics":[{"version":"3.1","score":6.4,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:N","rating":"medium","source":"GitHub_M"},{"version":"3.1","score":6.4,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:N","rating":"medium","source":"github.com"},{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"NVD"},{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"OSV"},{"version":"2.0","score":3.5,"vector":"AV:N/AC:M/Au:S/C:N/I:P/A:N","rating":"low","source":"NVD"}],"rating":"medium","products":["nextcloud security-advisories"],"affectedProducts":[{"vendor":"nextcloud","product":"security-advisories","defaultStatus":null,"versions":[{"status":"affected","version":"< 4.0.3"}],"platforms":[]}],"packages":[],"cwes":["CWE-434","CWE-79"],"aliases":["GHSA-j6cx-mxqf-f9vc"],"references":[{"url":"https://github.com/nextcloud/security-advisories/security/advisories/GHSA-j6cx-mxqf-f9vc","tags":["x_refsource_CONFIRM","x_transferred","Third Party Advisory","advisory"]},{"url":"https://github.com/nextcloud/contacts/pull/2407","tags":["x_refsource_MISC","x_transferred","Third Party Advisory","advisory"]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.00521,"epssPercentile":0.45006,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2021-39221","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-39221","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2021-39221","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2021-39221","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}