Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

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

0
Medium
VulnerabilityCVE-2026-4817cvecve-2026-4817cwe-89
Published: Fri Apr 17 2026 (04/17/2026, 01:24:37 UTC)
Source: CVE Database V5
Vendor/Project: stylemix
Product: 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

AILast updated: 04/17/2026, 11:07:06 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses