Bug 2142774 (CVE-2022-45151, MSA-22-0031) - CVE-2022-45151 moodle: stored XSS possible in some "social" user profile fields
Summary: CVE-2022-45151 moodle: stored XSS possible in some "social" user profile fields
Keywords:
Status: CLOSED UPSTREAM
Alias: CVE-2022-45151, MSA-22-0031
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 2144704 2144705 2144706 2144707
Blocks: 2141946 2144719
TreeView+ depends on / blocked
 
Reported: 2022-11-15 08:58 UTC by TEJ RATHI
Modified: 2022-12-07 19:32 UTC (History)
1 user (show)

Fixed In Version: moodle 4.0.5, moodle 3.11.11
Doc Type: If docs needed, set a value
Doc Text:
The stored-XSS vulnerability was discovered in Moodle which exists due to insufficient sanitization of user-supplied data in several "social" user profile fields. An attacker could inject and execute arbitrary HTML and script code in user's browser in context of vulnerable website.
Clone Of:
Environment:
Last Closed: 2022-12-07 19:32:35 UTC
Embargoed:


Attachments (Terms of Use)

Description TEJ RATHI 2022-11-15 08:58:34 UTC
MSA-22-0031: Stored XSS possible in some "social" user profile fields

The "social" user profile field type performed insufficient escaping on some fields, resulting in a stored XSS risk.

Versions affected: 4.0 to 4.0.4 and 3.11 to 3.11.10
Versions fixed:    4.0.5 and 3.11.11

Comment 3 TEJ RATHI 2022-11-22 04:00:14 UTC
Created moodle tracking bugs for this issue:

Affects: epel-7 [bug 2144704]
Affects: fedora-35 [bug 2144705]
Affects: fedora-36 [bug 2144706]
Affects: fedora-37 [bug 2144707]

Comment 4 Product Security DevOps Team 2022-12-07 19:32:33 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.


Note You need to log in before you can comment on or make changes to this bug.