CVE-2021-22878
4.8medium
Nextcloud Server prior to 20.0.6 is vulnerable to reflected cross-site scripting (XSS) due to lack of sanitization in OC.Notification.show.
- Severity
- 4.8medium CVSS:3.1 by NVD
- Exploit likelihood
- 1.07% (higher than 65% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- 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`.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Nextcloud Server | Fixed in 20.0.6 | CVE List |
| nextcloud nextcloud_server | before 20.0.6 | NVD |
| fedoraproject fedora | 34 | NVD |
All scores
| NVD | 4.8medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N |
| NVD | 3.5low CVSS:2.0 | AV:N/AC:M/Au:S/C:N/I:P/A:N |
Classification
What each source says
CVE List
Nextcloud Server prior to 20.0.6 is vulnerable to reflected cross-site scripting (XSS) due to lack of sanitization in `OC.Notification.show`.
NVD (es)
Nextcloud Server versiones anteriores a 20.0.6, es vulnerable a un ataque de tipo cross-site scripting (XSS) reflejado debido a una falta de saneamiento en "OC.Notification.show"
References
| https://hackerone.com/reports/896522 | exploit, issue-tracking, third-party-advisory | |
| https://nextcloud.com/security/advisory/?id=NC-SA-2021-005 | vendor-advisory | |
| https://github.com/nextcloud/server/pull/25234 | patch, third-party-advisory | |
| https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/L6BO6P6MP2MOWA6PZRXX32PLWPXN5O4S/ | vendor-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-22878 changed 2024-08-03 | CVE Terms of Use |
| NVD | CVE-2021-22878 changed 2026-06-17 | Public domain |