Bug 1934837 (CVE-2021-22878)

Summary: CVE-2021-22878 nextcloud: Reflected cross-site scripting due to lack of sanitization in `OC.Notification.show`
Product: [Other] Security Response Reporter: Pedro Sampaio <psampaio>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED UPSTREAM QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: ce, james.hogarth
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-03-04 01:02:05 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On: 1934838    
Bug Blocks:    

Description Pedro Sampaio 2021-03-03 21:15:29 UTC
Nextcloud Server prior to 20.0.6 is vulnerable to reflected cross-site scripting (XSS) due to lack of sanitization in `OC.Notification.show`.

https://github.com/nextcloud/server/pull/25234
https://hackerone.com/reports/896522
https://nextcloud.com/security/advisory/?id=NC-SA-2021-005

Comment 1 Pedro Sampaio 2021-03-03 21:15:50 UTC
Created nextcloud tracking bugs for this issue:

Affects: fedora-all [bug 1934838]

Comment 2 Product Security DevOps Team 2021-03-04 01:02:05 UTC
This CVE Bugzilla entry is for community support informational purposes only as it does not affect a package in a commercially supported Red Hat product. Refer to the dependent bugs for status of those individual community products.