Bug 1927282 (CVE-2020-25628)

Summary: CVE-2020-25628 moodle: filter in tag manager required extra sanitizing to prevent reflected XSS
Product: [Other] Security Response Reporter: Dhananjay Arunesh <darunesh>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED UPSTREAM QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: gwync, igor.raits, mrehak, sergio
Target Milestone: ---Keywords: Reopened, Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
A flaw was found in Moodle. The filter in the tag manager required extra sanitizing to prevent a reflected Cross-Site Scripting (XSS) risk. This issue affects versions 3.9 to 3.9.1, 3.8 to 3.8.4, 3.7 to 3.7.7, 3.5 to 3.5.13, and earlier unsupported versions. The issue is fixed in versions 3.9.2, 3.8.5, 3.7.8, and 3.5.14.
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-02-11 10:09:50 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1927283, 1927284    
Bug Blocks:    

Description Dhananjay Arunesh 2021-02-10 13:03:32 UTC
The filter in the tag manager required extra sanitizing to prevent a reflected XSS risk. This affects 3.9 to 3.9.1, 3.8 to 3.8.4, 3.7 to 3.7.7, 3.5 to 3.5.13 and earlier unsupported versions. Fixed in 3.9.2, 3.8.5, 3.7.8 and 3.5.14.

References:
http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-69340

Comment 1 Dhananjay Arunesh 2021-02-10 13:04:17 UTC
External References:

https://moodle.org/mod/forum/discuss.php?d=410840

Comment 2 Dhananjay Arunesh 2021-02-10 13:04:46 UTC
Created moodle tracking bugs for this issue:

Affects: epel-7 [bug 1927284]
Affects: fedora-all [bug 1927283]

Comment 3 Marian Rehak 2021-02-11 08:53:08 UTC
Security flaws will close automatically upon closing the last tracker. There is still a tracker for epel-7 that is open. Reopened the flaw.

Comment 4 Product Security DevOps Team 2021-02-11 10:09:50 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.