WhatCyber / Vulnerabilities / CVE-2022-50943
CVE-2022-50943: moodle
MEDIUM severity
CVE-2022-50943 affects moodle. It is not currently listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. Its CVSS base score is 6.1 (medium). The EPSS model puts the chance of exploitation in the next 30 days at 0.3%.
Description
Moodle LMS 4.0 contains a cross-site scripting vulnerability that allows unauthenticated attackers to inject malicious scripts by submitting payloads through the search parameter. Attackers can inject JavaScript code via the search field in course/search.php to execute arbitrary scripts in users' browsers and steal session cookies.
Key facts
- CVSS v3
- 6.1 (MEDIUM)
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- Published
- 2026-05-10
- Last modified
- 2026-07-25
- NVD status
- Analyzed
Timeline
- May 10, 2026: Published in the NVD
Weaknesses (CWE)
Affected products
- moodle moodle
References
- https://git.in.moodle.com/moodle
- https://moodle.org/
- https://www.exploit-db.com/exploits/51115
- https://www.vulncheck.com/advisories/moodle-lms-cross-site-scripting-via-course-search-php