---
cve: "CVE-2021-41178"
severity: "HIGH"
cvss: 8.8
epss: "1.8%"
vendor: "nextcloud"
kev: false
exploited: false
published: "2021-10-25 22:15:07"
tags: [cve, security, high]
source: tsecurity.de CVE-Dossier
exported: "2026-09-12T03:20:57+02:00"
---

# CVE-2021-41178

> 8.8 HIGH · 🧪 PoC

## Beschreibung

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-Vektor

```
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
```

| Metrik | Wert | Bewertung |
|---|---|---|
| AV Angriffsvektor | Netzwerk | bad |
| AC Komplexität | Gering | bad |
| PR Privilegien | Gering | warn |
| UI Interaktion | Keine | bad |
| S Scope | Unverändert | good |
| C Vertraulichkeit | Hoch | bad |
| I Integrität | Hoch | bad |
| A Verfügbarkeit | Hoch | bad |

## Patch verfügbar (OSV)

- 43a0a9a3213588d5f6fc88a0e52df6b8a0b9b9ec (Commit)
- 64e55fdd4a9ab38d5ad5e8fe457b2912e43efead (Commit)

## Referenzen

- <https://github.com/nextcloud/security-advisories/security/advisories/GHSA-jp9c-vpr3-m5rf>
- <https://github.com/nextcloud/server/pull/28726>
- <https://hackerone.com/reports/1302155>
- <https://security.gentoo.org/glsa/202208-17>

---
_Exportiert aus dem [tsecurity.de CVE-Dossier](https://tsecurity.de/cve?cve=CVE-2021-41178) · Datenquellen: EUVD (ENISA), NVD, OSV, CISA KEV, FIRST EPSS, Exploit-DB, BSI BITS_
