Cross-Site Scripting Vulnerability in Moodle LMS
CVE-2022-50943
Key Information:
- Vendor
Moodle
- Status
- Vendor
- CVE Published:
- 10 May 2026
Badges
Key facts: CVE-2022-50943 is a medium severity (CVSS 5.1) vulnerability in Moodle LMS. It is known to be exploited in the wild. 1 public proof-of-concept exploit is available. Its EPSS score is 1.8%, the estimated probability of exploitation in the next 30 days.
What is CVE-2022-50943?
Moodle LMS 4.0 is susceptible to a cross-site scripting vulnerability that enables unauthenticated attackers to inject harmful scripts through the search parameter. By exploiting this flaw in the course/search.php file, attackers can execute arbitrary JavaScript in the browsers of unsuspecting users, potentially leading to the theft of sensitive session cookies.
Affected Version(s)
Moodle LMS 4.0
Exploit Proof of Concept (PoC)
PoC code is written by security researchers to demonstrate the vulnerability can be exploited. PoC code is also a key component for weaponization which could lead to ransomware.
References
More analysed vulnerabilities
Browse all analysed vulnerabilities ›CVSS V4
Timeline
- 🟡
Public PoC available
- 👾
Exploit known to exist
Vulnerability published
Vulnerability Reserved