Severity by source
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
WordPress plugin reachable over the network (AV:N), low complexity with no special conditions (AC:L), requires any authenticated account (PR:L), no victim interaction (UI:N), and full admin takeover yields C:H/I:H/A:H.
Primary rating from Vendor (Patchstack).
CVSS VectorVendor: Patchstack
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Lifecycle Timeline
1DescriptionCVE.org
Incorrect Privilege Assignment vulnerability in ThemeGrill Masteriyo - LMS allows Privilege Escalation.
This issue affects Masteriyo - LMS: from n/a through 2.2.0.
AnalysisAI
Privilege escalation in the ThemeGrill Masteriyo LMS WordPress plugin (versions up to and including 2.2.0) allows authenticated low-privileged users to elevate their permissions to higher roles, including administrator. The flaw stems from incorrect privilege assignment (CWE-266) and carries a CVSS 8.8 with high confidentiality, integrity, and availability impact across the WordPress instance. No public exploit identified at time of analysis, and the Patchstack disclosure is the sole reference currently available.
Technical ContextAI
Masteriyo is a WordPress Learning Management System plugin distributed by ThemeGrill, used to deliver courses, manage students, and monetize online education on WordPress sites; the CPE cpe:2.3:a:themegrill:masteriyo_-_lms covers all builds through 2.2.0. The underlying weakness is CWE-266 (Incorrect Privilege Assignment), a class of bug where an application grants a user role or capability that exceeds what their authentication context should permit - typically because role/capability assignment logic in REST endpoints, AJAX handlers, or registration flows fails to validate the caller's effective privileges. In WordPress plugins this commonly manifests as a self-service action (profile update, enrollment, or settings handler) that writes wp_capabilities or assigns a role without checking current_user_can() for the privilege being granted.
RemediationAI
No vendor-released patch identified at time of analysis from the supplied data - administrators should monitor the ThemeGrill Masteriyo plugin page and the Patchstack advisory at https://patchstack.com/database/wordpress/plugin/learning-management-system/vulnerability/wordpress-masteriyo-lms-plugin-2-2-0-privilege-escalation-vulnerability for a release above 2.2.0 and update as soon as it is published. Until a fixed version is available, disable open student/user self-registration in WordPress (Settings → General, uncheck "Anyone can register") and in the Masteriyo course settings to remove the trivial path to obtaining the required low-privileged account, accepting the trade-off that new students will need manual provisioning. As additional compensating controls, place the plugin's REST and AJAX endpoints behind a WAF rule or Patchstack vPatch, audit existing wp_users / wp_usermeta for unexpected administrator roles, and consider deactivating the Masteriyo plugin entirely on high-value sites where coursework can be paused, noting that deactivation will take the LMS offline for legitimate students.
More in Masteriyo Lms
View allUnauthenticated arbitrary user session termination (force-logout) in the Masteriyo LMS WordPress plugin before version 2
Unauthenticated access to Masteriyo LMS WordPress plugin's course-progress REST API controller exposes all users' learni
Stored Cross-Site Scripting in the Masteriyo LMS WordPress plugin (all versions before 2.3.3) allows instructor-role use
Unauthenticated arbitrary file upload in the Masteriyo LMS WordPress plugin (versions <= 2.3.2) lets remote attackers up
Broken access control in the Masteriyo - LMS WordPress plugin (versions up to and including 2.1.5) allows remote unauthe
Stored Cross-Site Scripting in Masteriyo LMS WordPress plugin versions up to and including 2.3.0 allows authenticated su
Unauthenticated broken authentication in the Masteriyo LMS WordPress plugin (versions ≤2.1.8) stems from improper JWT si
Insecure Direct Object Reference in the Masteriyo LMS WordPress plugin (versions ≤ 2.3.1) allows authenticated subscribe
Same weakness CWE-266 – Incorrect Privilege Assignment
View allSame technique Privilege Escalation
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-36722
GHSA-96jg-h8w9-77j9