CVE-2021-22878
Nextcloud Server prior to 20.0.6 is vulnerable to reflected cross-site scripting (XSS) due to...
Nextcloud Server prior to 20.0.6 is vulnerable to reflected cross-site scripting (XSS) due to lack of sanitization in OC.Notification.show.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- High
- User interaction
- Required
What an attacker can affect
- Confidentiality
- Low
- Integrity
- Low
- Availability
- None
Exploit likelihood
What each source reports
NVD Score used
4.8
Nextcloud Server prior to 20.0.6 is vulnerable to reflected cross-site scripting (XSS) due to lack of sanitization in OC.Notification.show.
- Record
CVE-2021-22878- CVSS 3.1
- 4.8 Medium
CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N - CVSS 2.0
- 3.5 Low
AV:N/AC:M/Au:S/C:N/I:P/A:N - Weakness
- CWE-79
- Updated
- 2026-11-02
CVE List No score
Nextcloud Server prior to 20.0.6 is vulnerable to reflected cross-site scripting (XSS) due to lack of sanitization in OC.Notification.show.
- Record
CVE-2021-22878- Weakness
- CWE-79
- Updated
- 2026-11-02
EUVDEUVD-2021-10013 No score
Nextcloud Server prior to 20.0.6 is vulnerable to reflected cross-site scripting (XSS) due to lack of sanitization in OC.Notification.show.
- Record
EUVD-2021-10013- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-3qm7-9jrc-h4gp No score
Nextcloud Server prior to 20.0.6 is vulnerable to reflected cross-site scripting (XSS) due to...
Nextcloud Server prior to 20.0.6 is vulnerable to reflected cross-site scripting (XSS) due to lack of sanitization in OC.Notification.show.
- Record
GHSA-3qm7-9jrc-h4gp- Weakness
- CWE-79
- Updated
- 2026-11-02
OSV
4.8
Nextcloud Server prior to 20.0.6 is vulnerable to reflected cross-site scripting (XSS) due to lack of sanitization in OC.Notification.show.
- Record
CVE-2021-22878- CVSS 3.1
- 4.8 Medium
CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N - Updated
- 2026-11-02
Affected products
History
| Recorded | Changed | Sources |
|---|---|---|
| aliases, products | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2021-22878 is a medium vulnerability (CVSS 4.8) in Hackerone Nextcloud Server, published March 3, 2021. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.06%, the 64th percentile. No source names a fixed version.
References
hackerone.com/reports/896522
nextcloud.com/security/advisory?id=NC-SA-2021-005
github.com/nextcloud/server/pull/25234
lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/L6BO6P6MP2MOWA6PZRXX32PLWPXN5O4S
nvd.nist.gov/vuln/detail/CVE-2021-22878
lists.fedoraproject.org/archives/list/[email protected]/message/L6BO6P6MP2MOWA6PZRXX32PLWPXN5O4S
github.com/advisories/GHSA-3qm7-9jrc-h4gp