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 products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| — | Moodle | Fixed in moodle 4.0.2, moodle 3.11.8, moodle 3.9.15 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 18.04 LTS | moodle | No fix yet | — |
| Ubuntu Pro 16.04 LTS | moodle | No fix yet | — |
Automated scanner template
A ready-made Nuclei template detects this vulnerability automatically. Vulnerabilities with public scanner templates are typically probed across the internet soon after the template appears — exposed systems should be patched first.
- Moodle LTI module Reflected - Cross-Site Scripting http/cves/2022/CVE-2022-35653.yaml
Source: projectdiscovery/nuclei-templates (MIT) — updated daily. Only links are listed.
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Packagist | moodle/moodle | >= 4.0, < 4.0.2 | 4.0.2 | GHSA-62wh-m4jr-233r |
| Packagist | moodle/moodle | >= 3.11, < 3.11.8 | 3.11.8 | GHSA-62wh-m4jr-233r |
| Packagist | moodle/moodle | >= 3.9, < 3.9.15 | 3.9.15 | GHSA-62wh-m4jr-233r |