XSS in Moodle
CVE-2022-35653
A reflected XSS issue was identified in the LTI module of Moodle. The vulnerability exists due to insufficient sanitization of user-supplied data in the LTI module. A remote attacker can trick the victim to follow a specially crafted link and execute arbitrary HTML and script code in user's browser in context of vulnerable website to steal potentially sensitive information, change appearance of the web page, can perform phishing and drive-by-download attacks. This vulnerability does not impact authenticated users.
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.048, 92.2th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Moodle — versions 4.0.0, 4.0.1
- Fedoraproject Fedora — versions 35, 36
- Red Hat Enterprise Linux — versions 8.0
- Moodle — versions Fixed in moodle 4.0.2, moodle 3.11.8, moodle 3.9.15
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 4 other repositories (20142995/sectool, ARPSyndicate/cvemon, 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 (Third Party Advisory, Issue Tracking)
- moodle.org/mod/forum/discuss.php (Patch, Vendor Advisory)
- git.moodle.org/gw (Patch, Vendor Advisory)
- FEDORA-2022-81ce74b2dd (vendor-advisory)
- FEDORA-2022-7e7ce7df2e (vendor-advisory)