CVE-2022-50943
MEDIUM
NVD
CVSS Score
6.1
Severity
MEDIUM
Published
May 10, 2026
Vendor
unknown
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.