GitHub Advisory Database
GHSA-wwv7-h477-wrv7
Moodle Stored XSS and blind SSRF possible via SCORM track details
Details
A stored Cross-site Scripting (XSS) and blind Server-Side Request Forgery (SSRF) vulnerability was found in Moodle, occurs due to insufficient sanitization of user-supplied data in the SCORM track details. 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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Packagist | moodle/moodle | From 3.9 before 3.9.15 (fixed in 3.9.15) |
| Packagist | moodle/moodle | From 3.11 before 3.11.8 (fixed in 3.11.8) |
| Packagist | moodle/moodle | From 4.0 before 4.0.2 (fixed in 4.0.2) |
References
- https://nvd.nist.gov/vuln/detail/CVE-2022-35651
- https://bugzilla.redhat.com/show_bug.cgi?id=2106275
- https://github.com/moodle/moodle
- https://lists.fedoraproject.org/archives/list/[email protected]/message/6MOKYVRNFNAODP2XSMGJ5CRDUZCZKAR3
- https://lists.fedoraproject.org/archives/list/[email protected]/message/MTKUSFPSYFINSQFSOHDQIDVE6FWBEU6V
- https://moodle.org/mod/forum/discuss.php?d=436458
- http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-71921