Vulnerability 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.
CVSS Score
MEDIUM
Related Weaknesses (CWE)
References
- https://plugins.trac.wordpress.org/browser/learnpress/trunk/inc/Ajax/Order/Expor
- https://plugins.trac.wordpress.org/browser/learnpress/trunk/inc/Databases/DataBa
- https://plugins.trac.wordpress.org/browser/learnpress/trunk/inc/order/class-lp-o
- https://plugins.trac.wordpress.org/changeset?reponame=&old=3659942%40learnpress&
- https://www.wordfence.com/threat-intel/vulnerabilities/id/dfd960b6-34c9-48b0-925
FAQ
What is CVE-2026-77823?
CVE-2026-77823 is a vulnerability with a CVSS score of 4.9 (MEDIUM). 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 ...
How severe is CVE-2026-77823?
CVE-2026-77823 has been rated MEDIUM with a CVSS base score of 4.9/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-77823?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.