Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate as Student user
-
DeliveryAccess InstructorsController endpoint
-
ExploitSubmit role update request
-
ExecutionModify user role parameter
-
ImpactEscalate privileges to Administrator
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Authorization checks on every request
MITRE ATT&CK
1 technique across 1 tactic: Privilege Escalation The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Masteriyo LMS plugin for WordPress versions up to 2.1.6. Requires authenticated access with Student-level privileges or higher. Attacker exploits the InstructorsController::prepare_object_for_database function to modify user role to administrator. No victim interaction needed. |
| Impact | This vulnerability presents a critical real-world risk despite some inconsistency between the description and CVSS scoring. The CVSS vector of AV:N/AC:L/PR:N/UI:N indicates network-exploitable with no privileges required, though the description clarifies Student-level access is actually needed, suggesting the accurate score should reflect PR:L. Regardless, the technical impact is maximum (C:H/I:H/A:H) as attackers gain full administrative control. The vulnerability is highly automatable once an attacker has basic authenticated access, with exploitation requiring only a crafted REST API request to the InstructorsController endpoint. The availability of public references showing the exact vulnerable code location and the patch changeset significantly lowers the barrier to exploitation. WordPress plugins with privilege escalation vulnerabilities are frequently targeted due to the widespread deployment of WordPress and the high value of administrator access for web shell installation, site defacement, and further network compromise. |
| Exploit ScenarioDerived | An attacker registers a standard Student account on a WordPress site running the vulnerable Masteriyo LMS plugin. They then craft a malicious REST API request to the /wp-json/masteriyo/v1/instructors endpoint, including their user ID and a modified role parameter set to 'administrator' in the request body. The InstructorsController::prepare_object_for_database function processes this request without proper authorization checks, updating the attacker's user role to administrator in the WordPress database, granting them complete control over the website including the ability to install malicious plugins, modify content, access sensitive data, and pivot to the underlying server. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Mar 26, 2026
The Masteriyo LMS plugin for WordPress contains a critical privilege escalation vulnerability that allows authenticated users with Student-level access or higher to elevate their privileges to administrator level. All versions up to and including 2.1.6 are affected. The vulnerability is exploitable over the network with low attack complexity and requires no user interaction, resulting in a critical CVSS score of 9.8, though the CVSS vector indicates no authentication required (PR:N) which conflicts with the description stating Student-level access is needed.
RemediationAI
Upgrade the Masteriyo LMS plugin to version 2.1.7 or later, which addresses the privilege escalation vulnerability through changes to the InstructorsController as documented in changeset 3490792 at https://plugins.trac.wordpress.org/changeset/3490792/learning-management-system/trunk/includes/RestApi/Controllers/Version1/InstructorsController.php. Site administrators should verify the plugin version immediately through the WordPress admin dashboard and apply updates. Until patching is completed, consider temporarily disabling the Masteriyo LMS plugin if it is not actively required, or restrict REST API access to the /wp-json/masteriyo/v1/instructors endpoint through web application firewall rules or .htaccess restrictions. Review WordPress user accounts for any suspicious administrator-level accounts that may have been created through exploitation, and audit recent user role changes in the WordPress database wp_usermeta table for the wp_capabilities meta_key.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The vulnerability affects the Masteriyo LMS WordPress plugin (cpe:2.3:a:masteriyo:masteriyo_lms_-_online_course_builder_for_elearning,_lms_&_education), specifically in the InstructorsController::prepare_object_for_database function within the REST API v1 controller. The root cause is classified as CWE-862 (Missing Authorization), meaning the application fails to properly verify that a user is authorized to modify their own role attribute when updating instructor objects through the REST API. The vulnerable code at line 305 of InstructorsController.php allows user role data to be passed directly into the database preparation function without sufficient authorization checks, enabling authenticated users to manipulate their role assignment during instructor profile updates.
Know when Masteriyo gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Primary rating from NVD · only source for this CVE.
CVSS VectorNVD
DescriptionCVE.org
The Masteriyo LMS plugin for WordPress is vulnerable to Privilege Escalation in all versions up to, and including, 2.1.6. This is due to the plugin allowing a user to update the user role through the 'InstructorsController::prepare_object_for_database' function. This makes it possible for authenticated attackers, with Student-level access and above, to elevate their privileges to that of an administrator.
Executive ViewAI
A critical vulnerability in the Masteriyo LMS WordPress plugin allows attackers to gain administrative access to affected systems, potentially compromising student data, course content, and institutional integrity. Any organization using Masteriyo LMS versions 2.1.6 or earlier faces immediate risk of unauthorized system takeover and data breach.
Disable Masteriyo LMS plugin immediately if operationally feasible; restrict plugin access via Web Application Firewall (WAF) by blocking requests to vulnerable endpoints; implement IP whitelisting to limit plugin access to authorized administrative networks only; monitor user privilege escalation attempts through security information and event management (SIEM) systems; conduct daily audits of administrative user accounts for unauthorized additions; segment LMS infrastructure from critical systems using network controls; monitor vendor Masteriyo advisories for patch release and apply immediately upon availability.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
Privilege escalation occurs when an attacker leverages flaws in access control mechanisms to gain permissions beyond what they were originally granted.
Related Vulnerabilities in WordPress Plugin Authorization Flaws
View all 3Privilege escalation in the Masteriyo LMS WordPress plugin (versions up to and including 1.7.2) allows remote unauthenti
The LMS by Masteriyo WordPress plugin before 1.6.8 does not have proper authorization in one some of its REST API endpoi
Authentication Bypass Using an Alternate Path or Channel vulnerability in Masteriyo Masteriyo - LMS. Rated medium severi
Unauthenticated arbitrary file upload in the Masteriyo LMS WordPress plugin (versions <= 2.3.2) lets remote attackers up
PHP Object Injection in the Masteriyo LMS WordPress plugin (versions <= 3.4.0) allows remote attackers to inject a craft
Masteriyo LMS, a WordPress learning-management plugin, discloses the course-progress and learning-activity records of ev
Missing Authorization vulnerability in masteriyo Masteriyo - LMS learning-management-system.11.4. Rated high severity (C
Stored Cross-Site Scripting in Masteriyo LMS WordPress plugin versions up to and including 2.3.0 allows authenticated su
Unauthenticated arbitrary content deletion in Masteriyo LMS 3.4.3 and earlier lets remote attackers remove content from
The Masteriyo LMS - eLearning and Online Course Builder for WordPress plugin for WordPress is vulnerable to unauthorized
Insecure Direct Object Reference in the Masteriyo LMS WordPress plugin (versions ≤ 2.3.1) allows authenticated subscribe
The Masteriyo LMS - eLearning and Online Course Builder for WordPress plugin for WordPress is vulnerable to Stored Cross
EUVD-2026-16074
GHSA-6m8q-32w5-c768
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB