CVE-20XX-?
agent?

Moodle CVEs.

Published CVEs affecting Moodle, ranked by exploit odds.

628 CVEs · updated 2026-11-06 20:33 UTC

  1. CVE-2024-43425

    A flaw was found in Moodle. Additional restrictions are required to avoid a remote code execution risk in calculated question types. Note: This requires the capability to add/update questions.

    Injection Web app Moodle

    8.1 HIGH 88% exploit odds Fix listed
  2. CVE-2022-35650

    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.

    Disclosure Web app Moodle

    7.5 HIGH 54% exploit odds Fix listed
  3. CVE-2021-36393

    In Moodle, an SQL injection risk was identified in the library fetching a user's recent courses.

    Drop everything Injection Web app Moodle

    9.8 CRITICAL 52% exploit odds Fix listed
  4. CVE-2013-3630

    Moodle through 2.5.2 allows remote authenticated administrators to execute arbitrary programs by configuring the aspell pathname and then triggering a spell-check operation within the TinyMCE editor.

    Moodle

    4.6 MEDIUM 42% exploit odds No fix listed
  5. CVE-2022-0332

    A flaw was found in Moodle in versions 3.11 to 3.11.4. An SQL injection risk was identified in the h5p activity web service responsible for fetching user attempt data.

    Injection Web app Moodle

    9.8 CRITICAL 32% exploit odds Fix listed
  6. CVE-2018-1133

    An issue was discovered in Moodle 3.x. A Teacher creating a Calculated question can intentionally cause remote code execution on the server, aka eval injection.

    Moodle

    8.8 HIGH 31% exploit odds Fix listed
  7. CVE-2021-21809

    A command execution vulnerability exists in the default legacy spellchecker plugin in Moodle 3.10. A specially crafted series of HTTP requests can lead to command execution. An attacker must have administrator privileges to exploit this vulnerabilities.

    Injection Web app Moodle

    9.1 CRITICAL 24% exploit odds No fix listed
  8. CVE-2013-4341

    Multiple cross-site scripting (XSS) vulnerabilities in Moodle through 2.2.11, 2.3.x before 2.3.9, 2.4.x before 2.4.6, and 2.5.x before 2.5.2 allow remote attackers to inject arbitrary web script or HTML via a crafted blog link within an RSS feed.

    Moodle

    4.3 MEDIUM 22% exploit odds Fix listed
  9. CVE-2018-1042

    Moodle 3.x has Server Side Request Forgery in the filepicker.

    Moodle

    6.5 MEDIUM 16% exploit odds Fix listed
  10. CVE-2020-14321

    In Moodle before 3.9.1, 3.8.4, 3.7.7 and 3.5.13, teachers of a course were able to assign themselves the manager role within that course.

    Auth & access Web app Moodle

    8.8 HIGH 16% exploit odds Fix listed
  11. CVE-2017-2641

    In Moodle 2.x and 3.x, SQL injection can occur via user preferences.

    Moodle

    9.8 CRITICAL 15% exploit odds Fix listed
  12. CVE-2019-3810

    A flaw was found in moodle versions 3.6 to 3.6.1, 3.5 to 3.5.3, 3.4 to 3.4.6, 3.1 to 3.1.15 and earlier unsupported versions. The /userpix/ page did not escape users' full names, which are included as text when hovering over profile images. Note this page is not linked to by default and its access is restricted.

    Moodle

    6.1 MEDIUM 14% exploit odds Fix listed
  13. CVE-2026-26046

    A vulnerability was found in a Moodle TeX filter administrative setting where insufficient sanitization of configuration input could allow command injection. On sites where the TeX filter is enabled and ImageMagick is installed, a maliciously crafted setting value entered by an administrator could result in unintended system command execution. While exploitation requires administrative privileges, successful compromise could affect the entire Moodle server.

    Injection Web app Moodle

    7.2 HIGH 14% exploit odds No fix listed
  14. CVE-2022-35649

    The vulnerability was found in Moodle, occurs due to improper input validation when parsing PostScript code. An omitted execution parameter results in a remote code execution risk for sites running GhostScript versions older than 9.50. Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.

    Injection Web app Moodle

    9.8 CRITICAL 9% exploit odds Fix listed
  15. CVE-2021-36394

    In Moodle, a remote code execution risk was identified in the Shibboleth authentication plugin.

    Code execution Web app Moodle

    9.8 CRITICAL 7% exploit odds Fix listed
  16. CVE-2023-30943

    The vulnerability was found Moodle which exists because the application allows a user to control path of the older to create in TinyMCE loaders. A remote user can send a specially crafted HTTP request and create arbitrary folders on the system.

    Other Web app Moodle

    6.5 MEDIUM 7% exploit odds Fix listed
  17. CVE-2009-1171

    The TeX filter in Moodle 1.6 before 1.6.9+, 1.7 before 1.7.7+, 1.8 before 1.8.9, and 1.9 before 1.9.5 allows user-assisted attackers to read arbitrary files via an input command in a "$$" sequence, which causes LaTeX to include the contents of the file.

    Moodle

    4.3 MEDIUM 6% exploit odds No fix listed
  18. CVE-2022-30600

    A flaw was found in moodle where logic used to count failed login attempts could result in the account lockout threshold being bypassed.

    Auth & access Web app Moodle

    9.8 CRITICAL 5% exploit odds Fix listed
  19. CVE-2022-35653

    A reflected XSS issue was identified in the LTI module of Moodle. The vulnerability exists due to insufficient sanitization of user-supplied data in the LTI module. A remote attacker can trick the victim to follow a specially crafted link and execute arbitrary HTML and script code in user's browser in context of vulnerable website to steal potentially sensitive information, change appearance of the web page, can perform phishing and drive-by-download attacks. This vulnerability does not impact authenticated users.

    Moodle

    6.1 MEDIUM 5% exploit odds Fix listed
  20. CVE-2014-3544

    Cross-site scripting (XSS) vulnerability in user/profile.php in Moodle through 2.3.11, 2.4.x before 2.4.11, 2.5.x before 2.5.7, 2.6.x before 2.6.4, and 2.7.x before 2.7.1 allows remote authenticated users to inject arbitrary web script or HTML via the Skype ID profile field.

    Moodle

    3.5 LOW 5% exploit odds Fix listed
  21. CVE-2018-14630

    moodle before versions 3.5.2, 3.4.5, 3.3.8, 3.1.14 is vulnerable to an XML import of ddwtos could lead to intentional remote code execution. When importing legacy 'drag and drop into text' (ddwtos) type quiz questions, it was possible to inject and execute PHP code from within the imported questions, either intentionally or by importing questions from an untrusted source.

    Moodle

    8.8 HIGH 5% exploit odds Fix listed
  22. CVE-2004-0725

    Cross-site scripting (XSS) vulnerability in help.php in Moodle 1.3.2 and 1.4 dev allows remote attackers to inject arbitrary web script or HTML via the file parameter.

    Moodle

    6.8 MEDIUM 4% exploit odds Fix listed
  23. CVE-2016-9187

    Unrestricted file upload vulnerability in the double extension support in the "image" module in Moodle 3.1.2 allows remote authenticated users to execute arbitrary code by uploading a file with an executable extension, and then accessing it via unspecified vectors.

    Moodle

    8.8 HIGH 4% exploit odds No fix listed
  24. CVE-2008-0123

    Cross-site scripting (XSS) vulnerability in install.php for Moodle 1.8.3, and possibly other versions before 1.8.4, allows remote attackers to inject arbitrary web script or HTML via the dbname parameter. NOTE: this issue only exists until the installation is complete.

    Moodle

    4.3 MEDIUM 4% exploit odds No fix listed
  25. CVE-2016-9186

    Unrestricted file upload vulnerability in the "legacy course files" and "file manager" modules in Moodle 3.1.2 allows remote authenticated users to execute arbitrary code by uploading a file with an executable extension, and then accessing it via unspecified vectors.

    Moodle

    8.8 HIGH 4% exploit odds No fix listed
  26. CVE-2020-25627

    The moodlenetprofile user profile field required extra sanitizing to prevent a stored XSS risk. This affects versions 3.9 to 3.9.1. Fixed in 3.9.2.

    Moodle

    6.1 MEDIUM 4% exploit odds Fix listed
  27. CVE-2014-3541

    The Repositories component in Moodle through 2.3.11, 2.4.x before 2.4.11, 2.5.x before 2.5.7, 2.6.x before 2.6.4, and 2.7.x before 2.7.1 allows remote attackers to conduct PHP object injection attacks and execute arbitrary code via serialized data associated with an add-on.

    Moodle

    7.5 HIGH 4% exploit odds Fix listed
  28. CVE-2011-4280

    Cross-site scripting (XSS) vulnerability in the Spike PHPCoverage (aka spikephpcoverage) library, as used in Moodle 2.0.x before 2.0.2 and other products, allows remote attackers to inject arbitrary web script or HTML via unspecified vectors.

    Moodle

    4.3 MEDIUM 4% exploit odds Fix listed
  29. CVE-2007-1647

    Moodle 1.5.2 and earlier stores sensitive information under the web root with insufficient access control, and provides directory listings, which allows remote attackers to obtain user names, password hashes, and other sensitive information via a direct request for session (sess_*) files in moodledata/sessions/.

    Moodle

    7.8 HIGH 4% exploit odds No fix listed
  30. CVE-2019-14830

    A vulnerability was found in Moodle 3.7 to 3.7.1, 3.6 to 3.6.5, 3.5 to 3.5.7 and earlier unsupported versions, where the mobile launch endpoint contained an open redirect in some circumstances, which could result in a user's mobile access token being exposed. (Note: This does not affect sites with a forced URL scheme configured, mobile service disabled, or where the mobile app login method is "via the app").

    Moodle

    6.1 MEDIUM 3% exploit odds Fix listed
  31. CVE-2015-2269

    Multiple cross-site scripting (XSS) vulnerabilities in lib/javascript-static.js in Moodle through 2.5.9, 2.6.x before 2.6.9, 2.7.x before 2.7.6, and 2.8.x before 2.8.4 allow remote authenticated users to inject arbitrary web script or HTML via a (1) alt or (2) title attribute in an IMG element.

    Moodle

    3.5 LOW 3% exploit odds Fix listed
  32. CVE-2005-3649

    jumpto.php in Moodle 1.5.2 allows remote attackers to redirect users to other sites via the jump parameter.

    Moodle

    2.6 LOW 3% exploit odds Fix listed
  33. CVE-2006-4785

    SQL injection vulnerability in blog/edit.php in Moodle 1.6.1 and earlier allows remote attackers to execute arbitrary SQL commands via the format parameter as stored in the $blogEntry variable, which is not properly handled by the insert_record function, which calls _adodb_column_sql in the adodb layer (lib/adodb/adodb-lib.inc.php), which does not convert the data type to an int.

    Moodle

    7.5 HIGH 3% exploit odds Fix listed
  34. CVE-2020-10738

    A flaw was found in Moodle versions 3.8 before 3.8.3, 3.7 before 3.7.6, 3.6 before 3.6.10, 3.5 before 3.5.12 and earlier unsupported versions. It was possible to create a SCORM package in such a way that when added to a course, it could be interacted with via web services in order to achieve remote code execution.

    Moodle

    7.5 HIGH 3% exploit odds Fix listed
  35. CVE-2014-0214

    login/token.php in Moodle through 2.3.11, 2.4.x before 2.4.10, 2.5.x before 2.5.6, and 2.6.x before 2.6.3 creates a MoodleMobile web-service token with an infinite lifetime, which makes it easier for remote attackers to hijack sessions via a brute-force attack.

    Moodle

    6.8 MEDIUM 3% exploit odds Fix listed
  36. CVE-2007-3555

    Cross-site scripting (XSS) vulnerability in index.php in Moodle 1.7.1 allows remote attackers to inject arbitrary web script or HTML via a style expression in the search parameter, a different vulnerability than CVE-2004-1424.

    Moodle

    4.3 MEDIUM 3% exploit odds No fix listed
  37. CVE-2015-1493

    Directory traversal vulnerability in the min_get_slash_argument function in lib/configonlylib.php in Moodle through 2.5.9, 2.6.x before 2.6.8, 2.7.x before 2.7.5, and 2.8.x before 2.8.3 allows remote authenticated users to read arbitrary files via a .. (dot dot) in the file parameter, as demonstrated by reading PHP scripts.

    Moodle

    6.8 MEDIUM 3% exploit odds Fix listed
  38. CVE-2009-4302

    login/index_form.html in Moodle 1.8 before 1.8.11 and 1.9 before 1.9.7 links to an index page on the HTTP port even when the page is served from an HTTPS port, which might cause login credentials to be sent in cleartext, even when SSL is intended, and allows remote attackers to obtain these credentials by sniffing.

    Moodle

    5.0 MEDIUM 3% exploit odds Fix listed
  39. CVE-2005-3648

    Multiple SQL injection vulnerabilities in the get_record function in datalib.php in Moodle 1.5.2 allow remote attackers to execute arbitrary SQL commands via the id parameter in (1) category.php and (2) info.php.

    Moodle

    7.5 HIGH 2% exploit odds Fix listed
  40. CVE-2010-2228

    Cross-site scripting (XSS) vulnerability in the MNET access-control interface in Moodle before 1.8.13 and 1.9.x before 1.9.9 allows remote attackers to inject arbitrary web script or HTML via vectors involving extended characters in a username.

    Moodle

    4.3 MEDIUM 2% exploit odds Fix listed
  41. CVE-2010-2229

    Multiple cross-site scripting (XSS) vulnerabilities in blog/index.php in Moodle before 1.8.13 and 1.9.x before 1.9.9 allow remote attackers to inject arbitrary web script or HTML via unspecified parameters.

    Moodle

    4.3 MEDIUM 2% exploit odds Fix listed
  42. CVE-2014-7847

    iplookup/index.php in Moodle through 2.4.11, 2.5.x before 2.5.9, 2.6.x before 2.6.6, and 2.7.x before 2.7.3 allows remote attackers to cause a denial of service (resource consumption) by triggering the calculation of an estimated latitude and longitude for an IP address.

    Moodle

    5.0 MEDIUM 2% exploit odds Fix listed
  43. CVE-2014-7845

    The generate_password function in Moodle through 2.4.11, 2.5.x before 2.5.9, 2.6.x before 2.6.6, and 2.7.x before 2.7.3 does not provide a sufficient number of possible temporary passwords, which allows remote attackers to obtain access via a brute-force attack.

    Moodle

    7.5 HIGH 2% exploit odds Fix listed
  44. CVE-2011-4293

    The theme implementation in Moodle 2.0.x before 2.0.4 and 2.1.x before 2.1.1 triggers duplicate caching of Cascading Style Sheets (CSS) and JavaScript content, which allows remote attackers to bypass intended access restrictions and write to an operating-system temporary directory via unspecified vectors.

    Moodle

    6.4 MEDIUM 2% exploit odds Fix listed
  45. CVE-2021-3943

    A flaw was found in Moodle in versions 3.11 to 3.11.3, 3.10 to 3.10.7, 3.9 to 3.9.10 and earlier unsupported versions. A remote code execution risk when restoring backup files was identified.

    Code execution Web app Moodle

    9.8 CRITICAL 2% exploit odds Fix listed
  46. CVE-2008-3326

    Cross-site scripting (XSS) vulnerability in blog/edit.php in Moodle 1.6.x before 1.6.7 and 1.7.x before 1.7.5 allows remote attackers to inject arbitrary web script or HTML via the etitle parameter (blog entry title).

    Moodle

    2.6 LOW 2% exploit odds No fix listed
  47. CVE-2015-5267

    lib/moodlelib.php in Moodle through 2.6.11, 2.7.x before 2.7.10, 2.8.x before 2.8.8, and 2.9.x before 2.9.2 relies on the PHP mt_rand function to implement the random_string and complex_random_string functions, which makes it easier for remote attackers to predict password-recovery tokens via a brute-force approach.

    Moodle

    7.5 HIGH 2% exploit odds Fix listed
  48. CVE-2013-2083

    The MoodleQuickForm class in lib/formslib.php in Moodle through 2.1.10, 2.2.x before 2.2.10, 2.3.x before 2.3.7, and 2.4.x before 2.4.4 does not properly handle a certain array-element syntax, which allows remote attackers to bypass intended form-data filtering via a crafted request.

    Moodle

    5.0 MEDIUM 2% exploit odds Fix listed
  49. CVE-2018-16854

    A flaw was found in moodle versions 3.5 to 3.5.2, 3.4 to 3.4.5, 3.3 to 3.3.8, 3.1 to 3.1.14 and earlier. The login form is not protected by a token to prevent login cross-site request forgery. Fixed versions include 3.6, 3.5.3, 3.4.6, 3.3.9 and 3.1.15.

    Moodle

    6.5 MEDIUM 2% exploit odds Fix listed
  50. CVE-2018-10889

    A flaw was found in moodle before versions 3.5.1, 3.4.4, 3.3.7. No option existed to omit logs from data privacy exports, which may contain details of other users who interacted with the requester.

    Moodle

    4.3 MEDIUM 2% exploit odds Fix listed

All CVEs affecting Moodle that appear in CVE.org and NVD, sorted by how likely they are to be exploited (EPSS), with fix status and timeline.