CVE-2026-5060
MEDIUM NVDCVSS Score
6.5
Severity
MEDIUM
Source
NVD
Published
Jul 29, 2026
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.