CVE-2022-35653 Moodle LTI module reflected XSS risk
Reflected XSS in Moodle LTI module allows attackers to execute scripts in victim browsers via crafted links, enabling data theft and phishing.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2022-35653?
CVE-2022-35653 is a medium-severity cross-site scripting vulnerability in Fedoraproject Fedora, published on 25 Jul 2022. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
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.
Weakness: CWE-79
Which versions are affected by CVE-2022-35653?
7 open source packages ship an affected version, including moodle/moodle and moodle. It affects 3 products.
| Package | Affected | Fixed in |
|---|---|---|
moodle/moodle Packagist | From 3.11 | 3.11.8 |
moodle/moodle Packagist | From 3.11 | 3.11.8 |
moodle/moodle Packagist | From 3.9 | 3.9.15 |
moodle/moodle Packagist | From 3.9 | 3.9.15 |
moodle/moodle Packagist | From 4.0 | 4.0.2 |
moodle/moodle Packagist | From 4.0 | 4.0.2 |
1 more packages
moodle Bitnami | From 3.9.0 | 3.9.15, 3.11.8, 4.0.1, 4.0.2 |
Products include Fedoraproject Fedora, Moodle Moodle, Redhat Enterprise Linux.
How do I fix CVE-2022-35653?
Upgrade moodle/moodle to a fixed version for your release line: 3.11.8, 3.9.15 or 4.0.2.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2022-35653 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-35653 exists.
Public exploit code: 1 Nuclei template.
Other vulnerabilities in Fedoraproject Fedora
Sources
Also known as BIT-moodle-2022-35653, GHSA-62wh-m4jr-233r, UBUNTU-CVE-2022-35653.