- Home
- Vulnerabilities
- CVE-2022-50943
CVE-2022-50943
Moodle LMS 4.0 contains a cross-site scripting vulnerability that allows unauthenticated attackers to inject…
Medium
52/100
Summary
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 and versions
Moodle (1 line(s))
| Product | Versions | Fixed in | Source |
|---|---|---|---|
| Moodle | up to 4.0.0 (included) |
— | NVD |
Fix
Not provided by the vendor.
Workaround
No workaround provided.
Check whether you are affected
Exploit reported by sources
These links are tagged “exploit” by the NVD or CVE.org. We have neither verified nor copied them; open with care.
Timeline
- — Public proof of concept seen (exploitdb)
- — CVE published (cve)
References
- https://git.in.moodle.com/moodleProduct
- https://moodle.org/Product
- https://www.exploit-db.com/exploits/51115Exploit, VDB Entry
- https://www.vulncheck.com/advisories/moodle-lms-cross-site-scripting-via-course-search-phpThird Party Advisory
Data provenance
- Status
- NVD
- Publication date
- NVD
- Description
- NVD
- CVSS score
- CNA (vendor or assigner)
- Weakness (CWE)
- CNA (vendor or assigner)
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N(CVSS 3.1, CNA:disclosure@vulncheck.com)- Weakness
- CWE-79 · Script intersite (XSS)