XSS in Moodle
CVE-2022-45151
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.
Vulnerability class: XSS (Cross-Site Scripting)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.4 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N.
EPSS exploit prediction
EPSS 0.007, 54.2th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Moodle
- Fedoraproject Fedora — versions 35, 36, 37
- Moodle — versions Fixed in moodle 4.0.5, moodle 3.11.11
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 1 other repository (jev770/badmoodle-scan). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- bugzilla.redhat.com/show_bug.cgi
- moodle.org/mod/forum/discuss.php
- git.moodle.org/gw
- FEDORA-2022-f7fdcb1820 (vendor-advisory)
- FEDORA-2022-cb7084ae1c (vendor-advisory)
- FEDORA-2022-74a9c8e95f (vendor-advisory)