Bug 2126857 (CVE-2021-36568)

Summary: CVE-2021-36568 www-apps/moodle: XSS via crafted topic fields
Product: [Other] Security Response Reporter: ybuenos
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED UPSTREAM QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: ajak, gwync, igor.raits
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: 2022-11-27 04:27:42 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: 2126858    
Bug Blocks:    

Description ybuenos 2022-09-14 15:00:48 UTC
In certain Moodle products after creating a course, it is possible to add in a arbitrary "Topic" a resource, in this case a "Database" with the type "Text" where its values "Field name" and "Field description" are vulnerable to Cross Site Scripting Stored(XSS). This affects Moodle 3.11 and Moodle 3.10.4 and Moodle 3.9.7.

https://blog.hackingforce.com.br/en/cve-2021-36568/
https://drive.google.com/drive/folders/1_fO4BKpmD3avGYHSzvIXWs5owqVYgB1s?usp=sharing

Comment 1 ybuenos 2022-09-14 15:01:05 UTC
Created moodle tracking bugs for this issue:

Affects: fedora-all [bug 2126858]

Comment 2 Product Security DevOps Team 2022-11-27 04:27:41 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 3 John Helmert III 2022-11-30 00:49:11 UTC
(In reply to Product Security DevOps Team from comment #2)
> 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.

How did you come to this conclusion? I don't think any fix exists, and Moodle is indeed packaged by Red Hat products.