Vulnerability · Published Jul 25, 2022 · Assigned by fedora
CVE-2022-35651
Medium 6.1
In plain English
A medium-severity cross-site scripting in Moodle. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.1% (higher than 65% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
A stored XSS and blind 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 & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Packagist | moodle/moodle | 3.9.15 | GHSA-wwv7-h477-wrv7 |
| Packagist | moodle/moodle | 3.11.8 | GHSA-wwv7-h477-wrv7 |
| Packagist | moodle/moodle | 4.0.2 | GHSA-wwv7-h477-wrv7 |
Affected products (as reported)
Weakness: CWE-79
References
- https://bugzilla.redhat.com/show_bug.cgi?id=2106275 x_refsource_MISC
- https://moodle.org/mod/forum/discuss.php?d=436458 x_refsource_MISC
- http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-71921 x_refsource_MISC
- FEDORA-2022-81ce74b2dd vendor-advisory, x_refsource_FEDORA
- FEDORA-2022-7e7ce7df2e vendor-advisory, x_refsource_FEDORA