Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2021-41178

published high CVSS 3.1 · 8.8

File Traversal affecting SVG files on Nextcloud Server

Published
25 Oct 2021, 21:55:11 UTC
Updated
04 Aug 2024, 02:59:31 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
nextcloud — security-advisories20.0.13 · >= 21.0.0, < 21.0.5 · < 22.2.0 Affected Not stated GitHub_M
SUSE / openSUSE openSUSE-Leap-15.2 nextcloudnoarch Advisory build 20.0.14-bp153.2.9.1 OPENSUSE-SU-2021:1602-1
SUSE / openSUSE openSUSE-Leap-15.2 nextcloud-apachenoarch Advisory build 20.0.14-bp153.2.9.1 OPENSUSE-SU-2021:1602-1
SUSE / openSUSE openSUSE-Leap-15.3 nextcloudnoarch Advisory build 20.0.14-bp153.2.9.1 OPENSUSE-SU-2021:1602-1
SUSE / openSUSE openSUSE-Leap-15.3 nextcloud-apachenoarch Advisory build 20.0.14-bp153.2.9.1 OPENSUSE-SU-2021:1602-1

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.

en · GitHub_M · cna

Vendor advisories explicitly linked to this CVE.

2

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
8.8 / 10
Severity
high
Provider
GitHub_M · cna
Vector string
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
nextcloud security-advisories 20.0.13 (affected)>= 21.0.0, < 21.0.5 (affected)< 22.2.0 (affected) GitHub_M · cna

Weaknesses

2
  • CWE-23 CWE-23: Relative Path Traversal (GitHub_M · cna)
  • CWE-434 CWE-434: Unrestricted Upload of File with Dangerous Type (GitHub_M · cna)

References

4

Provider assertions

2

GitHub_M · cna

File Traversal affecting SVG files on Nextcloud Server

CVE · adp

CVE Program Container

Provenance

Schema
5.1
Searchable
yes
Content hash
e3f718f10d648ebc47ddf67643aff3f4aa50ba3625624a15028b176e18a634c7
Ingested
23 Sep 2026, 07:56:07 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected