XSS in Moodle
CVE-2022-45150
A reflected cross-site scripting vulnerability was discovered in Moodle. This flaw exists due to insufficient sanitization of user-supplied data in policy tool. An attacker can trick the victim to open a specially crafted link that executes an arbitrary HTML and script code in user's browser in context of vulnerable website. This vulnerability may allow an attacker to perform cross-site scripting (XSS) attacks to gain access potentially sensitive information and modification of web pages.
Vulnerability class: XSS (Cross-Site Scripting)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.1 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N.
EPSS exploit prediction
EPSS 0.007, 55.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, moodle 3.9.18
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)