Reflected XSS in Moodle LTI module
CVE-2022-35653 is a reflected cross-site scripting vulnerability in the LTI module of Moodle. The issue is caused by insufficient sanitization of user-supplied data, allowing attacker-controlled input to be reflected into a web response and executed by the victim's browser in the security context of the vulnerable Moodle site. Exploitation requires luring a victim into visiting a specially crafted link. The provided information indicates the issue affects unauthenticated-user-facing functionality and does not impact authenticated users.
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
What an attacker gets, and what they’ve been doing with it.
Successful exploitation allows arbitrary HTML and JavaScript execution in the victim's browser in the context of the vulnerable Moodle instance. This can enable theft of potentially sensitive information available to the victim's session, manipulation of page content, phishing, and drive-by-download style attacks. As a reflected XSS issue, impact is generally limited to users who can be induced to load the malicious URL.
If you can’t patch tonight, do this now.
If immediate patching is not possible, reduce exposure by limiting access to vulnerable Moodle instances, especially any publicly reachable LTI functionality, and by using web application firewall filtering or reverse-proxy rules to block obvious XSS payloads in affected parameters. User awareness measures to avoid following untrusted links may reduce exploitability, but patching is the primary mitigation.
Patch, then assume compromise.
Upgrade Moodle to a fixed release. The advisory indicates the issue is remediated in Moodle 4.0.2 or later in the 4.0 branch, 3.11.8 or later in the 3.11 branch, and 3.9.15 or later in the 3.9 branch.
No public exploits tracked yet. Mallory keeps watching.
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
No public activity tracked yet. Mallory keeps watching.
No public activity observed for this vulnerability.