CVE-2022-50943
Last modified
CVE-2022-50943 is a medium-severity vulnerability rated 6.1/10 on the CVSS scale. 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.. EPSS estimates a 0.33% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
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
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Moodle | Moodle | <= 4.0.0 |
References
- https://moodle.org/Product
- https://www.exploit-db.com/exploits/51115Exploit, VDB Entry
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2022-50943?
How severe is CVE-2022-50943?
How do I fix CVE-2022-50943?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2022
- CVE-2022-50937Ametys CMS v4.4.1 contains a persistent cross-site scripting…6.1
- CVE-2022-50938CONTPAQi AdminPAQ 14.0.0 contains an unquoted service path v…8.5
- CVE-2022-50939e107 CMS version 3.2.1 contains a critical file upload vulne…8.6
- CVE-2022-50940Knap Advanced PHP Login 3.1.3 contains a persistent cross-si…6.4
- CVE-2022-50941BootCommerce 3.2.1 contains persistent input validation vuln…6.4
- CVE-2022-50942Incinga Web 2.8.2 contains a client-side cross-site scriptin…5.4
- CVE-2022-50944Aero CMS 0.0.1 contains a PHP code injection vulnerability t…8.8
- CVE-2022-50945WordPress 3dady Real-Time Web Stats plugin 1.0 contains a st…6.4
- CVE-2022-50946WordPress Plugin Netroics Blog Posts Grid 1.0 contains a sto…6.4
- CVE-2022-50947WordPress Plugin Testimonial Slider and Showcase 2.2.6 conta…6.4
- CVE-2022-50948Motopress Hotel Booking Lite 4.2.4 contains a stored cross-s…6.4
- CVE-2022-50949WordPress Plugin Videos sync PDF 1.7.4 contains a stored cro…6.4
Are you affected by CVE-2022-50943?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
