Mend.io Vulnerability Database
The largest open source vulnerability database
What is a Vulnerability ID?
New vulnerability? Tell us about it!
CVE-2022-35650
Published:July 25, 2022
Updated:May 18, 2026
The vulnerability was found in Moodle, occurs due to input validation error when importing lesson questions. This insufficient path checks results in arbitrary file read risk. This vulnerability allows a remote attacker to perform directory traversal attacks. The capability to access this feature is only available to teachers, managers and admins by default.
Affected Packages
moodle/moodle (PHP):
Affected version(s) >=v3.9.0 <v3.9.15
Fix Suggestion:
Update to version v3.9.15
moodle/moodle (PHP):
Affected version(s) >=v3.11.0 <v3.11.8
Fix Suggestion:
Update to version v3.11.8
moodle/moodle (PHP):
Affected version(s) >=v4.0.0 <v4.0.2
Fix Suggestion:
Update to version v4.0.2
Do you need more information?
Contact Us
CVSS v4
Base Score:
8.7
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
NONE
Vulnerable System Availability
NONE
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
7.5
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
NONE
Availability
NONE
Weakness Type (CWE)
Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Improper Input Validation
EPSS
Base Score:
0.44