๐Ÿ” CVE Alert

CVE-2022-50943

MEDIUM 6.1

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

NVD โ†— CVE.org โ†— EPSS Data โ†—
exploit-db.com: https://www.exploit-db.com/exploits/51115 moodle.org: https://moodle.org/ git.in.moodle.com: https://git.in.moodle.com/moodle vulncheck.com: https://www.vulncheck.com/advisories/moodle-lms-cross-site-scripting-via-course-search-php

Credits

Saud Alenazi