XSS in Moodle
CVE-2022-40313
Recursive rendering of Mustache template helpers containing user input could, in some cases, result in an XSS risk or a page failing to load.
Vulnerability class: XSS (Cross-Site Scripting)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.1 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:L.
EPSS exploit prediction
EPSS 0.007, 54.3th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Moodle
- Fedoraproject Extra Packages For Enterprise Linux — versions 8.0
- Fedoraproject Fedora — versions 35, 36
- Moodle — versions 4.0 to 4.0.3, 3.11 to 3.11.9, 3.9 to 3.9.16 and earlier unsupported versions
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 (Third Party Advisory, Issue Tracking)
- moodle.org/mod/forum/discuss.php (Patch, Vendor Advisory)