CVE-2022-50943
MEDIUM EPSS 24.9%
Published May 10, 20261mo ago · Modified Jun 17, 20261w ago
5.1 CVSS 4.0
Published May 10, 2026 1mo ago
Last Modified Jun 17, 2026 1w ago
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 Details
Base Score
Exploitability
Impact
Vector string
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X Attack Vector Network
Attack Complexity Low
Privileges Required None
User Interaction A
Scope X
Threat Intelligence
EPSS Exploit Probability
24.9% percentile
Exploit & Patch Status
Public Exploit Known
No Patch Available
Weaknesses 1
CWE-79 Cross-site Scripting Injection
Affected Products 1
| Vendor | Product | Version | Range |
|---|---|---|---|
| moodle | moodle | * | ≤4.0.0 |
References 4
- git.in.moodle.com https://git.in.moodle.com/moodle
- moodle.org https://moodle.org/
- exploit-db.com https://www.exploit-db.com/exploits/51115
- vulncheck.com https://www.vulncheck.com/advisories/moodle-lms-cross-site-scripting-via-course-search-php
Remediation
No remediation data recorded yet
Check vendor advisories and the NVD entry for patch availability.