CVE-2021-41178CWE-23CWE-434

File Traversal affecting SVG files on Nextcloud Server

High · published October 25, 2021

CVSS v3.1
8.8
EPSS
2%
Percentile
78.1
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
8.8 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.01784 · 78.1th percentile
Weaknesses
CWE-23 · Relative Path Traversal; CWE-434 · Unrestricted Upload of File with Dangerous Type
Published
2021-10-25T21:55Z
EPSS history
Timeline
  • 25 OCT 21:55Z
    File Traversal affecting SVG files on Nextcloud Server
    cvelistv5