VYPR
Unrated severityNVD Advisory· Published Oct 29, 2024· Updated Apr 8, 2026

Masteriyo LMS – eLearning and Online Course Builder for WordPress <= 1.13.3 - Authenticated (Student+) Missing Authorization to Privilege Escalation

CVE-2024-10008

Description

Authenticated attackers with student-level access can modify arbitrary user roles via an unprotected REST API endpoint in Masteriyo LMS, leading to privilege escalation to Administrator.

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

Authenticated attackers with student-level access can modify arbitrary user roles via an unprotected REST API endpoint in Masteriyo LMS, leading to privilege escalation to Administrator.

Vulnerability

The Masteriyo LMS – eLearning and Online Course Builder WordPress plugin (versions up to and including 1.13.3) contains a missing authorization check on the /wp-json/masteriyo/v1/users/$id REST API endpoint. The endpoint in UsersController.php lacks proper permission verification, allowing authenticated users with student-level access or higher to modify user roles [1].

Exploitation

An attacker needs only an authenticated session with student-level privileges (the default role for registered users) on a WordPress site running the vulnerable plugin. By sending a crafted HTTP request to the /wp-json/masteriyo/v1/users/$id endpoint with parameters to change a user's role (e.g., to "administrator"), the attacker can escalate their own privileges or demote existing administrators [1].

Impact

Successful exploitation allows the attacker to assign themselves or another user the Administrator role, gaining full control over the WordPress site. Additionally, the attacker can change existing administrators to students, effectively locking them out of administrative functions. This results in complete compromise of site integrity, confidentiality, and availability [1].

Mitigation

The vulnerability is fixed in version 2.2.1 of the plugin, as indicated by the plugin's changelog and version metadata [2]. Users should immediately update to version 2.2.1 or later. No workaround is available for earlier versions; the only mitigation is to update the plugin.

AI Insight generated on May 24, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.

Affected products

3

Patches

0

No patches discovered yet.

Vulnerability mechanics

AI mechanics synthesis has not run for this CVE yet.

References

2

News mentions

0

No linked articles in our index yet.