CVE-2026-4817: CWE-89 Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') in stylemix MasterStudy LMS WordPress Plugin – for Online Courses and Education
The MasterStudy LMS WordPress Plugin for Online Courses and Education plugin for WordPress is vulnerable to Time-based Blind SQL Injection via the 'order' and 'orderby' parameters in the /lms/stm-lms/order/items REST API endpoint in versions up to and including 3.7.25. This is due to insufficient input sanitization combined with a design flaw in the custom Query builder class that allows unquoted SQL injection in ORDER BY clauses. When the Query builder detects parentheses in the sort_by parameter, it treats the value as a SQL function and directly concatenates it into the ORDER BY clause without any quoting. While esc_sql() is applied to escape quotes and backslashes, this cannot prevent ORDER BY injection when the values themselves are not wrapped in quotes in the resulting SQL statement. This makes it possible for authenticated attackers, with subscriber-level access and above, to append arbitrary SQL queries via the ORDER BY clause to extract sensitive information from the database including user credentials, session tokens, and other confidential data through time-based blind SQL injection techniques.
AI Analysis
Technical Summary
CVE-2026-4817 is a time-based blind SQL injection vulnerability in the MasterStudy LMS WordPress Plugin (up to version 3.7.25). The issue stems from insufficient input sanitization combined with a design flaw in the plugin's custom Query builder class, which directly concatenates values containing parentheses into the ORDER BY clause without quoting. Although esc_sql() is used to escape quotes and backslashes, it does not prevent injection when the ORDER BY values are unquoted. Authenticated attackers with subscriber-level privileges or higher can exploit this to append arbitrary SQL queries via the 'order' and 'orderby' parameters in the /lms/stm-lms/order/items REST API endpoint, potentially extracting sensitive database information including user credentials and session tokens. The vulnerability has a CVSS 3.1 base score of 6.5, indicating medium severity. No official fix or patch has been published by the vendor as of the information provided.
Potential Impact
An authenticated attacker with subscriber-level access or higher can exploit this vulnerability to perform time-based blind SQL injection attacks via the ORDER BY clause. This allows the attacker to extract sensitive information from the database, including user credentials and session tokens, potentially compromising user accounts and session integrity. The vulnerability does not affect availability or integrity directly but impacts confidentiality of sensitive data.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, restrict subscriber-level access where possible and monitor for suspicious activity related to the /lms/stm-lms/order/items REST API endpoint. Avoid exposing this endpoint to untrusted users. No vendor-provided mitigation or temporary fix is currently documented.
CVE-2026-4817: CWE-89 Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') in stylemix MasterStudy LMS WordPress Plugin – for Online Courses and Education
Description
The MasterStudy LMS WordPress Plugin for Online Courses and Education plugin for WordPress is vulnerable to Time-based Blind SQL Injection via the 'order' and 'orderby' parameters in the /lms/stm-lms/order/items REST API endpoint in versions up to and including 3.7.25. This is due to insufficient input sanitization combined with a design flaw in the custom Query builder class that allows unquoted SQL injection in ORDER BY clauses. When the Query builder detects parentheses in the sort_by parameter, it treats the value as a SQL function and directly concatenates it into the ORDER BY clause without any quoting. While esc_sql() is applied to escape quotes and backslashes, this cannot prevent ORDER BY injection when the values themselves are not wrapped in quotes in the resulting SQL statement. This makes it possible for authenticated attackers, with subscriber-level access and above, to append arbitrary SQL queries via the ORDER BY clause to extract sensitive information from the database including user credentials, session tokens, and other confidential data through time-based blind SQL injection techniques.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-4817 is a time-based blind SQL injection vulnerability in the MasterStudy LMS WordPress Plugin (up to version 3.7.25). The issue stems from insufficient input sanitization combined with a design flaw in the plugin's custom Query builder class, which directly concatenates values containing parentheses into the ORDER BY clause without quoting. Although esc_sql() is used to escape quotes and backslashes, it does not prevent injection when the ORDER BY values are unquoted. Authenticated attackers with subscriber-level privileges or higher can exploit this to append arbitrary SQL queries via the 'order' and 'orderby' parameters in the /lms/stm-lms/order/items REST API endpoint, potentially extracting sensitive database information including user credentials and session tokens. The vulnerability has a CVSS 3.1 base score of 6.5, indicating medium severity. No official fix or patch has been published by the vendor as of the information provided.
Potential Impact
An authenticated attacker with subscriber-level access or higher can exploit this vulnerability to perform time-based blind SQL injection attacks via the ORDER BY clause. This allows the attacker to extract sensitive information from the database, including user credentials and session tokens, potentially compromising user accounts and session integrity. The vulnerability does not affect availability or integrity directly but impacts confidentiality of sensitive data.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, restrict subscriber-level access where possible and monitor for suspicious activity related to the /lms/stm-lms/order/items REST API endpoint. Avoid exposing this endpoint to untrusted users. No vendor-provided mitigation or temporary fix is currently documented.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- Wordfence
- Date Reserved
- 2026-03-25T13:39:50.506Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 69e2142082d89c981fcd7c3f
Added to database: 4/17/2026, 11:06:08 AM
Last enriched: 4/17/2026, 11:07:06 AM
Last updated: 4/17/2026, 6:32:16 PM
Views: 8
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.