Bug 1927275 (CVE-2020-25631)

Summary: CVE-2020-25631 moodle: XSS vulnerability
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, sergio
Target Milestone: ---Keywords: 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 in versions 3.9 to 3.9.1, 3.8 to 3.8.4, and 3.7 to 3.7.7 where it was possible to include JavaScript in a book's chapter title, which was not escaped on the "Add new chapter" page. This issue is fixed in versions 3.9.2, 3.8.5, and 3.7.8.
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-02-10 16:09:44 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: 1927276, 1927287    
Bug Blocks:    

Description Dhananjay Arunesh 2021-02-10 12:52:49 UTC
A vulnerability was found in Moodle 3.9 to 3.9.1, 3.8 to 3.8.4 and 3.7 to 3.7.7 where it was possible to include JavaScript in a book's chapter title, which was not escaped on the "Add new chapter" page. This is fixed in 3.9.2, 3.8.5 and 3.7.8.

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

Comment 1 Dhananjay Arunesh 2021-02-10 12:54:12 UTC
Created moodle tracking bugs for this issue:

Affects: fedora-all [bug 1927276]

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

Affects: epel-7 [bug 1927287]

Comment 3 Product Security DevOps Team 2021-02-10 16:09:44 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.

Comment 4 RaTasha Tillery-Smith 2021-02-11 15:04:46 UTC
External References:

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