Vulnerability · Published Jul 25, 2022 · Assigned by fedora
CVE-2022-35653
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 4.8% (higher than 92% of all known vulnerabilities). Ready-made attack tooling exists: Nuclei. Fixed versions are available - upgrade the affected package.
Official description
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Packagist | moodle/moodle | 4.0.2 | GHSA-62wh-m4jr-233r |
| Packagist | moodle/moodle | 3.11.8 | GHSA-62wh-m4jr-233r |
| Packagist | moodle/moodle | 3.9.15 | GHSA-62wh-m4jr-233r |
Affected products (as reported)
Weakness: CWE-79
References
- https://bugzilla.redhat.com/show_bug.cgi?id=2106277 x_refsource_MISC
- https://moodle.org/mod/forum/discuss.php?d=436460 x_refsource_MISC
- http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-72299 x_refsource_MISC
- FEDORA-2022-81ce74b2dd vendor-advisory, x_refsource_FEDORA
- FEDORA-2022-7e7ce7df2e vendor-advisory, x_refsource_FEDORA