CVE-2022-35650: The vulnerability was found in Moodle, occurs due to input validation error when importing lesson questions.

CVE-2022-35650 affects 10 listed versions of Moodle in the Dawnsentry catalogue.

7.5CVSS high
None knownexploitation
54%EPSS (next 30 days)
25 July 2022published

Affected products and versions

The versions in the Dawnsentry catalogue this CVE affects, judged from the vendor's own advisory where there is one, otherwise from the CVE record and NVD, as each version's own page says.

Moodle

10 of 250 listed versions are affected. Fixed in 4.0.2, 3.11.8, 3.9.15. The newest release, 5.3.1, is not affected.

4.0.1 4.0.0 3.11.7 3.11.6 3.11.5 3.11.4 3.9.14 3.9.13 3.9.12 3.9.11

What it is

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.

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N (NVD)

Published by Fedora on 25 July 2022. Last changed 17 June 2026.

Sources

Check one version you run: look CVE-2022-35650 up, or pick a product and version in the quick lookup.

Updated 2 December 2026.