CVE-2022-50943
Moodle LMS 4.0 Cross-Site Scripting via course search.php
Overview
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.
Source: OX vulnerability database
Severity
6.1 · MEDIUM
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- Required
- Scope
- Changed
- Confidentiality
- Low
- Integrity
- Low
- Availability
- None
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Weakness: CWE-79
Affected packages · 1
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| Bitnami | moodle | <=4.0.0 | No fix yet |
Open a package to see all its vulnerabilities.
Operating systems
No Linux distribution reports this ID.
References
- git.in.moodle.com https://git.in.moodle.com/moodle
- moodle.org https://moodle.org/
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2022-50943
- www.exploit-db.com https://www.exploit-db.com/exploits/51115
- www.vulncheck.com https://www.vulncheck.com/advisories/moodle-lms-cross-site-scripting-via-course-search-php
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.