CVE-2022-35653
MEDIUM 6.1CVSS 3.1Moodle LTI module reflected XSS risk
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.
- Published
- 25 Jul 2022
- Last modified
- 17 Jun 2026
- Assigned by
- patrick@puiterwijk.org
- NVD status
- Modified
- Weakness
- CWE-79
- Also known as
- BIT-moodle-2022-35653GHSA-62wh-m4jr-233r
- Sources
- NVDJSONOSV GHSA-62wh-m4jr-233rJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | moodle | moodlecpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:* |
>= 3.9.0, < 3.9.15 | 3.9.15 |
| NVD | moodle | moodlecpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:* |
>= 3.11.0, < 3.11.8 | 3.11.8 |
| NVD | moodle | moodlecpe:2.3:a:moodle:moodle:4.0.0:-:*:*:*:*:*:* |
= 4.0.0 | |
| NVD | moodle | moodlecpe:2.3:a:moodle:moodle:4.0.0:beta:*:*:*:*:*:* |
= 4.0.0 | |
| NVD | moodle | moodlecpe:2.3:a:moodle:moodle:4.0.0:rc1:*:*:*:*:*:* |
= 4.0.0 | |
| NVD | moodle | moodlecpe:2.3:a:moodle:moodle:4.0.0:rc2:*:*:*:*:*:* |
= 4.0.0 | |
| NVD | moodle | moodlecpe:2.3:a:moodle:moodle:4.0.0:rc3:*:*:*:*:*:* |
= 4.0.0 | |
| NVD | moodle | moodlecpe:2.3:a:moodle:moodle:4.0.0:rc4:*:*:*:*:*:* |
= 4.0.0 | |
| NVD | moodle | moodlecpe:2.3:a:moodle:moodle:4.0.1:*:*:*:*:*:*:* |
= 4.0.1 | |
| NVD | fedoraproject | fedoracpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:* |
= 35 | |
| NVD | fedoraproject | fedoracpe:2.3:o:fedoraproject:fedora:36:*:*:*:*:*:*:* |
= 36 | |
| NVD | redhat | enterprise_linuxcpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:* |
= 8.0 | |
| OSV | Packagist | moodle/moodle | >= 4.0, < 4.0.2 | 4.0.2 |
| OSV | Packagist | moodle/moodle | >= 3.11, < 3.11.8 | 3.11.8 |
| OSV | Packagist | moodle/moodle | >= 3.9, < 3.9.15 | 3.9.15 |
References
- http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-72299 · Patch, Vendor Advisory, WEB
- https://bugzilla.redhat.com/show_bug.cgi?id=2106277 · Issue Tracking, Third Party Advisory, WEB
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/6MOKYVRNFNAODP2XSMGJ5CRDUZCZKAR3/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/MTKUSFPSYFINSQFSOHDQIDVE6FWBEU6V/
- https://moodle.org/mod/forum/discuss.php?d=436460 · Patch, Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2022-35653 · ADVISORY
- https://github.com/moodle/moodle · PACKAGE
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/6MOKYVRNFNAODP2XSMGJ5CRDUZCZKAR3 · WEB
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/MTKUSFPSYFINSQFSOHDQIDVE6FWBEU6V · WEB
History
- 25 Nov 2026 20:34 UTC · NVD: first stored (published 25 Jul 2022)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 26 Jul 2022)