Vulnerabilities · 2021 · Nextcloud
CVE-2021-22878
Nextcloud Server vulnerability
Nextcloud Server prior to 20.0.6 is vulnerable to reflected cross-site scripting (XSS) due to lack of sanitization in `OC.Notification.show`.
Affected products
Nextcloud Server, Fedora. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Nextcloud Server runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- nextcloud.com/security/advisory/?id=NC-SA-2021-005 · Vendor Advisory
- github.com/nextcloud/server/pull/25234 · Patch
- hackerone.com/reports/896522 · Exploit
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/L
- nvd.nist.gov/vuln/detail/CVE-2021-22878
- cve.org/CVERecord?id=CVE-2021-22878
More vulnerabilities in Nextcloud products
CVE-2025-66558CVE-2025-66557CVE-2025-66556CVE-2025-66554CVE-2025-66553CVE-2025-66552CVE-2025-66551CVE-2025-66550All 353
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.