CVE-2021-41178

Source
https://cve.org/CVERecord?id=CVE-2021-41178
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-41178.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2021-41178
Downstream
Related
Published
2021-10-25T22:15:07.913Z
Modified
2026-02-04T21:33:39.737263Z
Severity
  • 6.5 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N CVSS Calculator
Summary
[none]
Details

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.

References

Affected packages

Git / github.com/nextcloud/server

Affected versions

20.*
20.0.12rc1
v20.*
v20.0.10
v20.0.10RC1
v20.0.11
v20.0.11rc1
v20.0.12
v20.0.13rc1
v20.0.3
v20.0.4
v20.0.5
v20.0.5RC1
v20.0.5RC2
v20.0.6
v20.0.6RC1
v20.0.7
v20.0.7RC1
v20.0.8
v20.0.8RC1
v20.0.9
v20.0.9RC1
v21.*
v21.0.1
v21.0.2
v21.0.2RC1
v21.0.3
v21.0.3rc1
v21.0.4
v21.0.4rc1
v21.0.5rc1
v22.*
v22.1.1
v22.2.0rc2

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-41178.json"