CVE-2021-22878
publishednextcloud: Reflected cross-site scripting due to lack of sanitization in `OC.Notification.show`
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | Nextcloud ServerFixed in 20.0.6 | Affected | Not stated | hackerone |
Description
Nextcloud Server prior to 20.0.6 is vulnerable to reflected cross-site scripting (XSS) due to lack of sanitization in `OC.Notification.show`.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | Nextcloud Server | Fixed in 20.0.6 (affected) | hackerone · cna |
Weaknesses
1- CWE-79 Cross-site Scripting (XSS) - Reflected (CWE-79)
References
4- https://github.com/nextcloud/server/pull/25234
- https://hackerone.com/reports/896522
- FEDORA-2021-eac0e52f88 https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/L6BO6P6MP2MOWA6PZRXX32PLWPXN5O4S/
- https://nextcloud.com/security/advisory/?id=NC-SA-2021-005
Provider assertions
2hackerone · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 1b968b0f8ba6b3d3a69a2da171b09c97e0ba614510d0a9700e47494a2f1d57c8
- Ingested
- 23 Sep 2026, 07:52:45 UTC
- Source record
- Official CVE record