← Database

CVE-2022-50943

MEDIUM CVSS: 6.1 Published: 2026-05-10 Modified: 2026-07-25

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.

Affected Platforms

Moodle Moodle

Weakness Type

CWE-79

References