CVE-2022-50943
Moodle LMS 4.0 Cross-Site Scripting via course search.php
CVSS Score
6.1
EPSS Score
0.1%
EPSS Percentile
27th
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.
| CWE | CWE-79 |
| Vendor | moodle |
| Product | moodle lms |
| Published | May 10, 2026 |
| Last Updated | May 11, 2026 |
Stay Ahead of the Next One
Get instant alerts for moodle moodle lms
Be the first to know when new medium vulnerabilities affecting moodle moodle lms are published โ delivered to Slack, Telegram or Discord.
Get Free Alerts โ
Free ยท No credit card ยท 60 sec setup
CVSS v3 Breakdown
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Changed
Confidentiality
None
Integrity
None
Availability
None
Affected Versions
Moodle / Moodle LMS
4.0
References
Credits
Saud Alenazi