CVE-2021-41178

    Dashboard / Vulnerabilities / CVE-2021-41178

    CVE-2021-41178

    Published: 25 Oct 2021Last Modified: 7 Aug 2026

    Summary:

    Details: 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.

    Affected packages

    Package

    Name:

    Purl:

    Affected ranges

    Type: GIT

    Events:

    Introduced- 9c053c66607a5c261bbf27a3db442addd9b5b6ee

    Affected versions

    v20.0.13rc1
    v20.0.11
    v20.0.11rc1
    v20.0.10
    v20.0.10RC1
    v20.0.9
    v20.0.9RC1
    v20.0.8
    v20.0.8RC1
    v20.0.7RC1
    v20.0.7
    v20.0.6
    v20.0.6RC1
    v20.0.5
    v20.0.5RC2
    v20.0.5RC1
    v20.0.4
    v20.0.3

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High
    CVE-2021-41178 | CVE-DB