Vulnerability

CVE-2022-50943

mediumCVSS 4.0 5.1Published 10 May 2026

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

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 products

From the NVD's configuration data (CPE), vendor first.

  • Moodle moodle

Weakness type

References

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning