Vulnerability 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.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Moodle | Moodle | <= 4.0.0 |
Related Weaknesses (CWE)
References
- https://git.in.moodle.com/moodleProduct
- https://moodle.org/Product
- https://www.exploit-db.com/exploits/51115ExploitVDB Entry
- https://www.vulncheck.com/advisories/moodle-lms-cross-site-scripting-via-course-Third Party Advisory
FAQ
What is CVE-2022-50943?
CVE-2022-50943 is a vulnerability with a CVSS score of 6.1 (MEDIUM). 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...
How severe is CVE-2022-50943?
CVE-2022-50943 has been rated MEDIUM with a CVSS base score of 6.1/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2022-50943?
Check the references section above for vendor advisories and patch information. Affected products include: Moodle Moodle.