# CVE-2022-35653: Moodle LTI module reflected XSS risk

- Severity: Medium 6.1 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 4.84%, higher than 92% of CVEs (2026-12-01)
- Published: 2022-07-25T15:33:11.000Z
- Modified: 2026-09-08T08:48:15.100Z
- Also known as: GHSA-62wh-m4jr-233r, BIT-MOODLE-2022-35653
- Weaknesses: CWE-79
- Assigned by: fedora

## 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.

(As written by CVE List.)

## Affected

- Moodle: Fixed in moodle 4.0.2, moodle 3.11.8, moodle 3.9.15
- moodle/moodle (Packagist): from 4.0 before 4.0.2; from 3.11 before 3.11.8; from 3.9 before 3.9.15
- moodle moodle: from 3.9.0 before 3.9.15; from 3.11.0 before 3.11.8; 4.0.0; 4.0.1
- fedoraproject fedora: 35; 36
- redhat enterprise_linux: 8.0
- moodle (Bitnami): from 3.9.0 before 3.9.15; from 3.11.0 before 3.11.8; from 4.0.0 before 4.0.1; from 4.0.1 before 4.0.2

## Every score

- GitHub: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- Bitnami Vulnerability Database: rating Medium

## References

- <https://bugzilla.redhat.com/show_bug.cgi?id=2106277> (advisory, issue-tracking, third-party-advisory, web)
- <https://moodle.org/mod/forum/discuss.php?d=436460> (advisory, patch, vendor-advisory, web)
- <http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-72299> (advisory, patch, vendor-advisory, web)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/6MOKYVRNFNAODP2XSMGJ5CRDUZCZKAR3/> (vendor-advisory, web)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/MTKUSFPSYFINSQFSOHDQIDVE6FWBEU6V/> (vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-35653> (advisory, web)
- <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)

## Sources

- CVE List: [CVE-2022-35653](https://www.cve.org/CVERecord?id=CVE-2022-35653), CVE Terms of Use, modified 2024-08-03
- GitHub Advisory Database: [GHSA-62wh-m4jr-233r](https://github.com/advisories/GHSA-62wh-m4jr-233r), CC-BY-4.0, modified 2024-04-24
- NVD: [CVE-2022-35653](https://nvd.nist.gov/vuln/detail/CVE-2022-35653), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-MOODLE-2022-35653](https://osv.dev/vulnerability/BIT-MOODLE-2022-35653), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2022-35653 · Whole record: https://cve.day/CVE-2022-35653.json · Rebuilt by cve.day 2026-11-25T22:58:13.195Z
