CVE-2021-41178 Details
Description
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.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/nextcloud/security-advisories/security/advisories/GHSA-jp9c-vpr3-m5rf | CVE | Third Party Advisory |
| https://github.com/nextcloud/server/pull/28726 | CVE | PatchThird Party Advisory |
| https://hackerone.com/reports/1302155 | CVE | Permissions Required |
| https://security.gentoo.org/glsa/202208-17 | CVE | Third Party Advisory |
| https://github.com/nextcloud/security-advisories/security/advisories/GHSA-jp9c-vpr3-m5rf | [email protected] | Third Party Advisory |
| https://github.com/nextcloud/server/pull/28726 | [email protected] | PatchThird Party Advisory |
| https://hackerone.com/reports/1302155 | [email protected] | Permissions Required |
| https://security.gentoo.org/glsa/202208-17 | [email protected] | Third Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-22 | Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') | [email protected] |
| CWE-23 | Relative Path Traversal | [email protected] |
| CWE-434 | Unrestricted Upload of File with Dangerous Type | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| nextcloud server | >= 20.0.3, < 20.0.13 >= 21.0.1, < 21.0.5 >= 22.1.1, < 22.2.0 |
CPE
Remediation
| |
Change History
7 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Nov 21, 2024 | CVE Modified | CVE |
| May 14, 2024 | CVE Modified | [email protected] |
| Oct 25, 2022 | Modified Analysis | [email protected] |
| Aug 11, 2022 | CVE Modified | [email protected] |
| Apr 25, 2022 | Reanalysis | [email protected] |
| Oct 29, 2021 | Initial Analysis | [email protected] |