Executive brief
Tutor LMS, a popular WordPress plugin for managing online courses and eLearning platforms, contains a security vulnerability in its coupon management system. An attacker with administrative access could exploit this flaw to bypass standard security controls and access sensitive information stored in the website's database. While this requires high-level permissions to execute, it could lead to the unauthorized extraction of user data or site configuration details.
Technical details
The Tutor LMS plugin for WordPress is vulnerable to a generic SQL Injection via the 'coupon_code' parameter in versions up to and including 4.0.1. The vulnerability stems from insufficient escaping of user-supplied input and a lack of proper SQL query preparation in components such as CouponModel.php and CouponController.php. An authenticated attacker with administrator-level privileges can append malicious SQL queries to existing database calls. This enables the extraction of sensitive information from the WordPress database. A patch has been released in the plugin's version control system (changeset 3618540).
Affected products
- Themeum Tutor LMS – eLearning and online course solution up to, and including, 4.0.1
Timeline
- 2026-07-28: disclosed
- 2026-07-28: advisory
References
- https://plugins.trac.wordpress.org/browser/tutor/tags/4.0.1/classes/Input.php
- https://plugins.trac.wordpress.org/browser/tutor/tags/4.0.1/ecommerce/CouponController.php
- https://plugins.trac.wordpress.org/browser/tutor/tags/4.0.1/helpers/QueryHelper.php
- https://plugins.trac.wordpress.org/browser/tutor/tags/4.0.1/models/CouponModel.php
- https://plugins.trac.wordpress.org/changeset?reponame=&old=3618540%40tutor&new=3618540%40tutor
- https://www.wordfence.com/threat-intel/vulnerabilities/id/9d637d7b-7a47-40db-a931-ec7ca723dfab?source=cve