CVE-2021-41178
mediumpriority · track · 27EPSS 0.018 · 78 %ileEUUSEPSS · scored 2026-10-27
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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · medium–high · 4–8.8
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (6)
Products and version ranges known to be affected.
also known as (2)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (15)
External citations — patches, advisories, analysis.
- https://github.com/nextcloud/security-advisories/security/advisories/GHSA-jp9c-vpr3-m5rfcnnvd
- https://github.com/nextcloud/server/pull/28726cnnvd
- https://hackerone.com/reports/1302155cnnvd
- https://nvd.nist.gov/vuln/detail/CVE-2021-41178cnnvd
- https://security.gentoo.org/glsa/202208-17cnnvd
- https://vigilance.fr/vulnerability/NextCloud-three-vulnerabilities-37116cnnvd
- https://www.cybersecurity-help.cz/vdb/SB2021102620cnnvd
- https://github.com/nextcloud/security-advisories/security/advisories/GHSA-jp9c-vpr3-m5rfenisa_euvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan