CVE-2021-41178

Summary

CVECVE-2021-41178
StatePUBLIC
Assigner[email protected]
Source PriorityCVE Program / NVD first with legacy fallback
Published2021-10-25 22:15:00 UTC
Updated2022-10-25 20:53:00 UTC
DescriptionNextcloud 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.

Risk And Classification

Problem Types: CWE-434 | CWE-23

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Application Nextcloud Server All All All All

References

ReferenceSourceLinkTags
Nextcloud: Multiple Vulnerabilities (GLSA 202208-17) — Gentoo security GENTOO security.gentoo.org
HackerOne MISC hackerone.com
File Traversal affecting SVG files on Nextcloud Server · Advisory · nextcloud/security-advisories · GitHub CONFIRM github.com
Check if SVG path is valid by LukasReschke · Pull Request #28726 · nextcloud/server · GitHub MISC github.com
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Legacy QID Mappings

  • 710590 Gentoo Linux Nextcloud Multiple Vulnerabilities (GLSA 202208-17)
  • 751535 OpenSUSE Security Update for nextcloud (openSUSE-SU-2021:1602-1)
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

CVE.report and Source URL Uptime Status status.cve.report