Description
The MasterStudy LMS WordPress Plugin – for Online Courses and Education plugin for WordPress is vulnerable to Insecure Direct Object Reference in all versions up to, and including, 3.7.14. This is due to the `stm_lms_delete_cover()` function lacking ownership validation on the `file_id` parameter before passing it to `wp_delete_attachment()`. This makes it possible for authenticated attackers, with Instructor-level access and above, to delete arbitrary attachments belonging to any user by enumerating sequential attachment IDs.
Published: 2026-07-29
Score: 6.5 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The MasterStudy LMS WordPress Plugin is vulnerable to an insecure direct object reference that lets an authenticated user with Instructor level or higher permissions delete any attachment by supplying an arbitrary file identifier. The flaw resides in the stm_lms_delete_cover() function, which does not verify that the requester owns the attachment before calling wp_delete_attachment(). An attacker can therefore enumerate successive attachment IDs and remove content belonging to other users, potentially deleting course materials or user uploads, leading to loss of valuable data.

Affected Systems

Affected systems are installations of the MasterStudy LMS WordPress Plugin – for Online Courses and Education from stylemix, all versions up to and including 3.7.14. Login credentials for users with Instructor permissions or higher are sufficient for exploitability; the plugin itself is used within the WordPress administration interface.

Risk and Exploitability

The CVSS score of 6.5 indicates a moderate severity vulnerability. The EPSS score of less than 1% shows a low probability of exploitation in the wild, and the vulnerability is not listed in CISA KEV, reducing its prominence. An attacker requires only authenticated access with Instructor-level privileges; therefore the attack vector is likely local to the administrative interface, though the damage is destructive. The explicit lack of ownership checks in the deletion endpoint directly maps to CWE-639, representing insufficient authorization checks.

Generated by OpenCVE AI on August 3, 2026 at 13:32 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Update the MasterStudy LMS plugin to a version newer than 3.7.14 so that the stm_lms_delete_cover() function includes proper ownership validation
  • Re‑configure WordPress roles to ensure that only trusted administrators can obtain Instructor level permissions and restrict the blanket assignment of instructor privileges
  • Enable logging or monitoring of attachment deletion actions to detect and alert on suspicious activity

Generated by OpenCVE AI on August 3, 2026 at 13:32 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 29 Jul 2026 15:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Wed, 29 Jul 2026 11:45:00 +0000

Type Values Removed Values Added
First Time appeared Stylemix
Stylemix masterstudy Lms Wordpress Plugin – For Online Courses And Education
Wordpress
Wordpress wordpress
Vendors & Products Stylemix
Stylemix masterstudy Lms Wordpress Plugin – For Online Courses And Education
Wordpress
Wordpress wordpress

Wed, 29 Jul 2026 10:30:00 +0000

Type Values Removed Values Added
Description The MasterStudy LMS WordPress Plugin – for Online Courses and Education plugin for WordPress is vulnerable to Insecure Direct Object Reference in all versions up to, and including, 3.7.14. This is due to the `stm_lms_delete_cover()` function lacking ownership validation on the `file_id` parameter before passing it to `wp_delete_attachment()`. This makes it possible for authenticated attackers, with Instructor-level access and above, to delete arbitrary attachments belonging to any user by enumerating sequential attachment IDs.
Title MasterStudy LMS WordPress Plugin – for Online Courses and Education <= 3.7.14 - Insecure Direct Object Reference to Authenticated (Instructor+) Arbitrary Attachment Deletion
Weaknesses CWE-639
References
Metrics cvssV3_1

{'score': 6.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N'}


Subscriptions

Stylemix Masterstudy Lms Wordpress Plugin – For Online Courses And Education
Wordpress Wordpress
cve-icon MITRE

Status: PUBLISHED

Assigner: Wordfence

Published:

Updated: 2026-07-29T15:07:22.056Z

Reserved: 2026-03-27T18:10:20.617Z

Link: CVE-2026-5060

cve-icon Vulnrichment

Updated: 2026-07-29T15:07:18.204Z

cve-icon NVD

Status : Deferred

Published: 2026-07-29T11:16:50.093

Modified: 2026-07-30T14:01:30.413

Link: CVE-2026-5060

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-03T13:45:03Z

Weaknesses
  • CWE-639

    Authorization Bypass Through User-Controlled Key