{"id":"CVE-2021-22878","aliases":["CVE-2021-22878"],"related":[],"kind":"vulnerability","state":"published","title":"Nextcloud Server prior to 20.0.6 is vulnerable to reflected cross-site scripting (XSS) due to lack of sanitization in OC.Notification.show.","summary":"Nextcloud Server prior to 20.0.6 is vulnerable to reflected cross-site scripting (XSS) due to lack of sanitization in `OC.Notification.show`.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Nextcloud Server prior to 20.0.6 is vulnerable to reflected cross-site scripting (XSS) due to lack of sanitization in `OC.Notification.show`.","source":"cvelist"},{"lang":"es","text":"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\"","source":"nvd"}],"published":"2021-03-03T17:39:51.000Z","modified":"2026-06-17T03:37:56.027Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N","score":4.8,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N","score":4.8,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:M/Au:S/C:N/I:P/A:N","score":3.5,"rating":"LOW"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"version":"Fixed in 20.0.6","status":"affected"}],"product":"Nextcloud Server","source":"cvelist"},{"ranges":[{"status":"affected","fixed":"20.0.6"}],"vendor":"nextcloud","product":"nextcloud_server","cpe":"cpe:2.3:a:nextcloud:nextcloud_server:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"34"}],"vendor":"fedoraproject","product":"fedora","cpe":"cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://hackerone.com/reports/896522","tags":["exploit","issue-tracking","third-party-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://nextcloud.com/security/advisory/?id=NC-SA-2021-005","tags":["vendor-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://github.com/nextcloud/server/pull/25234","tags":["patch","third-party-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/L6BO6P6MP2MOWA6PZRXX32PLWPXN5O4S/","tags":["vendor-advisory","x-refsource-fedora","x-transferred"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"hackerone","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-22878","url":"https://www.cve.org/CVERecord?id=CVE-2021-22878","licence":"CVE Terms of Use","modified":"2024-08-03T18:51:07.563Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-22878","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-22878","licence":"Public domain","modified":"2026-06-17T03:37:56.027Z"}],"updatedAt":"2026-11-25T22:58:00.132Z","epss":{"score":0.01072,"percentile":0.65849,"date":"2026-12-01T12:00:22.000Z"}}