SQL Injection in Thimpress Learnpress – WordPress Lms Plugin For Create And Sell Online Courses

CVE-2026-77823

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.

Vulnerability class: SQL Injection

CVSS v3 metric

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

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2026-77823?
CVE-2026-77823 is a medium-severity vulnerability in Thimpress Learnpress – WordPress Lms Plugin For Create And Sell Online Courses, classified under SQL Injection. CVSS score: 4.9/10. Published 2026-09-01.
How severe is CVE-2026-77823?
Medium severity. CVSS v3 base score is 4.9 out of 10.