Auth bypass in Stylemix Masterstudy Lms WordPress Plugin – For Online Courses And Education

CVE-2026-5060

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.

Vulnerability class: IDOR (Insecure Direct Object Reference)

EPSS: 0.002 (11.7th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 6.5 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2026-5060?
CVE-2026-5060 is a medium-severity vulnerability in Stylemix Masterstudy Lms WordPress Plugin – For Online Courses And Education, classified under Authorization Bypass Through User-Controlled Key. CVSS score: 6.5/10. Published 2026-07-29.
How severe is CVE-2026-5060?
Medium severity. CVSS v3 base score is 6.5 out of 10.