CVE-2026-40766: StylemixThemes MasterStudy LMS SQL injection

CVE-2026-40766 · Severity: high · CVSS 8.5 · Published 2026-06-15

MasterStudy LMS is a popular WordPress plugin used to create and manage online courses and learning platforms. A security flaw allows logged-in users with basic 'Subscriber' accounts to perform unauthorized database queries. This could lead to the theft of sensitive student and instructor data, or disruption of the learning platform's operations.

Technologies: StylemixThemes MasterStudy LMS. Vendors: StylemixThemes.

Quick answers

Is CVE-2026-40766 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2026-40766 being exploited in the wild.
How severe is CVE-2026-40766?
High severity, with a CVSS score of 8.5, published 15 June 2026.
Which products and versions are affected?
StylemixThemes MasterStudy LMS <= 3.7.25.
Is there a fix for CVE-2026-40766?
A patch was published on 2026-04-21: Version 3.7.26 released to address the issue Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
How is CVE-2026-40766 attacked?
It is attacked over the network, in a network appliance.
Am I affected by CVE-2026-40766?
Check whether you run StylemixThemes MasterStudy LMS at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

Technical details

A SQL injection vulnerability exists in the MasterStudy LMS plugin for WordPress up to version 3.7.25. The flaw is classified as CWE-89 (Improper Neutralization of Special Elements used in an SQL Command) and can be exploited by an authenticated user with Subscriber-level privileges. By sending specially crafted requests to the server, an attacker can bypass intended query logic to extract sensitive information from the database. The vulnerability has been addressed in version 3.7.26.

Affected products

  • StylemixThemes MasterStudy LMS <= 3.7.25

Timeline

  • 2026-03-03: other: Vulnerability reported by Jakub Herman
  • 2026-04-21: advisory: Patchstack advisory published
  • 2026-06-15: disclosed: CVE published to NVD
  • 2026-04-21: patched: Version 3.7.26 released to address the issue

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.