CVE-2022-35653
A reflected XSS issue was identified in the LTI module of Moodle. The vulnerability exists due to insufficient sanitization of…
- 6.1MediumCVSS base score
- 4.8%Exploitation in 30 daysEPSS · top 7.9% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- 1Public exploitsMetasploit, Nuclei and Exploit-DB
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.
Public exploit
An exploit or proof of concept is public: anyone can try it against an unpatched system. The public collections list a Nuclei template for it.
Show the exploits1
Nuclei templates1 template
- Moodle LTI module Reflected - Cross-Site Scripting (Nuclei template) (opens in a new tab)
http/cves/2022/CVE-2022-35653.yamlSeverity medium
Modules, templates and exploits as listed by the Metasploit Framework (BSD-3-Clause), ProjectDiscovery's Nuclei templates (MIT) and the Exploit Database (GPLv2), read once a day. Where the data comes from
Timeline
ID reserved
By fedora
- 13 days later
· 13 days later
Published
- 2 years later
· 2 years later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 3.1 | Medium6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
- EPSS (exploitation in 30 days)
- 4.8% · top 7.9% of all CVEs (12 Nov 2026)
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 6.1.
Affected products
Moodle
- affected Fixed in moodle 4.0.2, moodle 3.11.8, moodle 3.9.15
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- Packagistmoodle/moodleGHSA-62wh-m4jr-233r (opens in a new tab)
References
References5
- https://bugzilla.redhat.com/show_bug.cgi?id=2106277 (opens in a new tab)x_refsource_MISCx_transferred
- https://moodle.org/mod/forum/discuss.php?d=436460 (opens in a new tab)x_refsource_MISCx_transferred
- http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-72299 (opens in a new tab)x_refsource_MISCx_transferred
- FEDORA-2022-81ce74b2dd (opens in a new tab)vendor-advisoryx_refsource_FEDORAx_transferred
- FEDORA-2022-7e7ce7df2e (opens in a new tab)vendor-advisoryx_refsource_FEDORAx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2022-6256 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-62wh-m4jr-233r (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2022-35653)Record last updated .