CVE-2026-5060 MEDIUM

CVE-2026-5060: MasterStudy LMS WordPress Plugin – for Online Courses and Education <= 3.7.14 - Insecure Direct Object Reference to Authenticated (Instructor+) Arbitrary Attachment Deletion

Vendor Stylemix
Product MasterStudy LMS WordPress Plugin – for Online Courses and Education
Weakness CWE-639 · IDOR
Published July 29, 2026
Last update July 29, 2026

CVSS base score

6.5/10
Attack vector Network
Attack complexity Low
Privileges required Low
User interaction None
Confidentiality None
Integrity High

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N

What the vulnerability does

01Description

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.

Explanation of Vulnerability in Simple Terms

02Summary

The MasterStudy LMS WordPress plugin versions 3.7.23 and earlier contain an authorization bypass vulnerability. An attacker with low-level user access can modify user-controlled parameters to bypass permission checks and alter data they should not have access to. The vulnerability affects the plugin's core functionality and requires an authenticated account to exploit.

What an attacker can do

03Attacker Capabilities

Modify or delete course data, user records, or settings belonging to other users or the site.

Potential impact on your site

04Site Impact

Unauthorized changes to course content, student records, or plugin settings; potential data loss or course disruption.

Conditions required to exploit

05Prerequisites

Attacker must have a low-privilege user account (e.g., student or subscriber role) on the WordPress site.

Key dates

06Disclosure timeline

July 29, 2026 CVE published
July 29, 2026 Record updated

Related vulnerabilities

08Related CVE