{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2021-41178","published":"2021-10-25T22:15:07.913000Z","last_modified":"2026-06-17T04:08:01.993000Z","status":"Modified","cvss":{"version":"3.1","score":6.5,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","source":"nvd@nist.gov","primary":true},"auth":true,"cwes":["CWE-23","CWE-434","CWE-22"],"cpes":[{"criteria":"cpe:2.3:a:nextcloud:server:*:*:*:*:*:*:*:*","part":"a","vendor":"nextcloud","product":"server","version_start_including":"20.0.3","version_end_excluding":"20.0.13"},{"criteria":"cpe:2.3:a:nextcloud:server:*:*:*:*:*:*:*:*","part":"a","vendor":"nextcloud","product":"server","version_start_including":"21.0.1","version_end_excluding":"21.0.5"},{"criteria":"cpe:2.3:a:nextcloud:server:*:*:*:*:*:*:*:*","part":"a","vendor":"nextcloud","product":"server","version_start_including":"22.1.1","version_end_excluding":"22.2.0"}],"cpes_truncated":false,"vendors":["nextcloud"],"products":["nextcloud/server"],"epss":{"score":0.01784,"percentile":0.78819,"date":"2026-11-29","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[],"severity":"medium","priority_score":39,"links":{"html_es":"/es/cve/CVE-2021-41178/","html_en":"/en/cve/CVE-2021-41178/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-41178","cve_org":"https://www.cve.org/CVERecord?id=CVE-2021-41178"},"untrusted":{"vendor_name":"Nextcloud","product_name":"Server","desc_en":"Nextcloud is an open-source, self-hosted productivity platform. Prior to versions 20.0.13, 21.0.5, and 22.2.0, a file traversal vulnerability makes an attacker able to download arbitrary SVG images from the host system, including user provided files. This could also be leveraged into a XSS/phishing attack, an attacker could upload a malicious SVG file that mimics the Nextcloud login form and send a specially crafted link to victims. The XSS risk here is mitigated due to the fact that Nextcloud employs a strict Content-Security-Policy disallowing execution of arbitrary JavaScript. It is recommended that the Nextcloud Server be upgraded to 20.0.13, 21.0.5 or 22.2.0. There are no known workarounds aside from upgrading.","affected":[{"untrusted_vendor":"nextcloud","untrusted_product":"security-advisories","versions":[]}],"references":[{"url":"https://github.com/nextcloud/security-advisories/security/advisories/GHSA-jp9c-vpr3-m5rf","tags":["Third Party Advisory"]},{"url":"https://github.com/nextcloud/server/pull/28726","tags":["Patch","Third Party Advisory"]},{"url":"https://hackerone.com/reports/1302155","tags":["Permissions Required"]},{"url":"https://security.gentoo.org/glsa/202208-17","tags":["Third Party Advisory"]}]}}