CVE-2026-77823

LearnPress <= 4.4.4 - Authenticated (Administrator+) SQL Injection via 'orderby' Parameter

Published Sep 1, 2026 CVSS 3.1 · 4.9 Medium EPSS < 1% KEV · Not listed
Description
The LearnPress plugin for WordPress is vulnerable to SQL Injection via the 'orderby' parameter of the export_order_csv AJAX action in versions up to, and including, 4.4.4. This is due to insufficient escaping on the user supplied parameter and lack of sufficient preparation on the existing SQL query in the LP_Order::handle_params_query_list_orders() and DataBase::execute() functions — only the literal values 'date' and 'title' are normalized, while any other attacker-controlled string is assigned directly to the filter's order_by property and concatenated into the ORDER BY clause without $wpdb->prepare() or an identifier whitelist. This makes it possible for authenticated attackers, with administrator-level access and above, to append additional SQL queries into already existing queries that can be used to extract sensitive information from the database.

Analysis

AI-generated

Technical impact

The LearnPress plugin for WordPress contains an SQL injection flaw in the export_order_csv AJAX action, triggered by unsanitized use of the 'orderby' parameter. Only the values 'date' and 'title' are properly validated; any other input is inserted directly into the ORDER BY clause of the query built by LP_Order::handle_params_query_list_orders() and DataBase::execute(). An authenticated attacker with administrator access can therefore append arbitrary SQL code, resulting in the execution of unintended queries and the disclosure of confidential information such as user records or course content. The weakness is a classic instance of CWE‑89: SQL Injection.

Affected Systems

WordPress sites that have installed the LearnPress LMS plugin version 4.4.4 or earlier are affected. These sites provide an export order CSV feature that is accessed via the Ajax endpoint handled by ExportOrderCSVAjax.php. The vulnerability is specific to the LearnPress plugin by thimpress and does not affect other plugins or WordPress core.

Risk and Exploitability

The CVSS base score of 4.9 indicates a moderate severity. No EPSS score is available, and the vulnerability is not listed in the CISA KEV catalog, suggesting it is not a known exploited issue. However, the flaw requires authenticated administrator privileges, meaning it is limited to users that already have elevated access. An attacker who steals or compromises such credentials can leverage the injection to read database contents, potentially compromising user data and business information. The overall risk remains moderate, but the impact on confidentiality for sites with sensitive data could be significant.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade LearnPress to the latest available version that resolves the SQL injection in export_order_csv.
  • If an immediate upgrade is not feasible, disable or restrict the export_order_csv AJAX endpoint so that it is only reachable by administrators, or remove the functionality entirely.
  • Deploy a reputable web application firewall or intrusion prevention system that blocks suspicious SQL injection attempts on the export_order_csv action, thereby mitigating exploitation until a patch can be applied.

Generated by OpenCVE AI on September 1, 2026 at 05:20 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Thimpress
Thimpress learnpress – Wordpress Lms Plugin For Create And Sell Online Courses
Wordpress
Wordpress wordpress
Vendors & Products Thimpress
Thimpress learnpress – Wordpress Lms Plugin For Create And Sell Online Courses
Wordpress
Wordpress wordpress
Type Values Removed Values Added
Description The LearnPress plugin for WordPress is vulnerable to SQL Injection via the 'orderby' parameter of the export_order_csv AJAX action in versions up to, and including, 4.4.4. This is due to insufficient escaping on the user supplied parameter and lack of sufficient preparation on the existing SQL query in the LP_Order::handle_params_query_list_orders() and DataBase::execute() functions — only the literal values 'date' and 'title' are normalized, while any other attacker-controlled string is assigned directly to the filter's order_by property and concatenated into the ORDER BY clause without $wpdb->prepare() or an identifier whitelist. This makes it possible for authenticated attackers, with administrator-level access and above, to append additional SQL queries into already existing queries that can be used to extract sensitive information from the database.
Title LearnPress <= 4.4.4 - Authenticated (Administrator+) SQL Injection via 'orderby' Parameter
Weaknesses CWE-89
References
Metrics cvssV3_1

{'score': 4.9, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N'}

Weaknesses
  • CWE-89

    Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')

Sources

Status
PUBLISHED
Assigner
Wordfence
Published
Updated
Sep 1, 2026, 5:54 PM
Reserved
Aug 21, 2026, 2:36 PM
Status
Deferred
Published
Sep 1, 2026, 5:17 AM
Modified
Sep 1, 2026, 8:47 PM