What the vulnerability does
01Description
The Tutor LMS – eLearning and online course solution plugin for WordPress is vulnerable to generic SQL Injection via Stored Quiz Answer Array in all versions up to, and including, 4.0.0 due to insufficient escaping on the user supplied parameter and lack of sufficient preparation on the existing SQL query. This makes it possible for authenticated attackers, with custom-level access and above, to append additional SQL queries into already existing queries that can be used to extract sensitive information from the database. The payload is stored at quiz-attempt time via the wp_ajax_tutor_quiz_abandon handler, but the injected SQL executes only when a privileged user or Tutor REST API key holder requests the /wp-json/tutor/v1/quiz-attempt-details/{id} endpoint, making this a second-order (stored) injection chain.
Explanation of Vulnerability in Simple Terms
02Summary
Tutor LMS versions up to 4.0.0 contain a SQL injection vulnerability in a database query that processes user input without proper sanitization. An authenticated user can craft a malicious request to extract sensitive data from the site's database, including user credentials and course information. The vulnerability requires a valid user account but no special privileges.
What an attacker can do
03Attacker Capabilities
Extract sensitive data from the site database, including user information and course details.
Potential impact on your site
04Site Impact
User data and course information could be exposed to any authenticated user; immediate patching required.
Conditions required to exploit
05Prerequisites
Attacker must have a valid user account on the site; no special privileges required.
Key dates
06Disclosure timeline
July 16, 2026
CVE published
July 18, 2026
Record updated