SQL injectionin ThimPress LearnPress · WordPress LMS Plugin for Create and Sell Online Courses.
Weaponized: a Metasploit exploit is public.
The LearnPress · WordPress LMS Plugin plugin for WordPress is vulnerable to SQL Injection via the 'c_only_fields' parameter of the /wp-json/learnpress/v1/courses REST API endpoint in all versions up to, and including, 4.2.7 due to insufficient escaping on the user supplied parameter and lack of sufficient preparation on the existing SQL query. This makes it possible for unauthenticated attackers to append additional SQL queries into already existing queries that can be used to extract sensitive information from the database.
- No source names a fix yet. Watch this page or the product for updates; we never guess a fixed version.
Affected and fixed versions
From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.
From first report to first attacks
- 6 Sep 2024CVE ID reserved by Wordfence.
- 11 Sep 2024Metasploit module: WordPress LearnPress Unauthenticated SQLi (CVE-2024-8522, CVE-2024-8529).
- 12 Sep 2024Published in the CVE List.
- 19 Sep 2024First public proof of concept on GitHub.
- 8 Apr 2026CVE record last updated.
Attack code anyone can find
Exploit maturity: Weaponized (Metasploit). CISA assessment (SSVC): exploitation none.
Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.
Report a link
Other LearnPress · WordPress LMS Plugin for Create and Sell Online Courses vulnerabilities
Same weakness: SQL injection
Patchminder. CVE-2024-8522: SQL injection in ThimPress LearnPress · WordPress LMS Plugin for Create and Sell Online Courses. https://patchminder.com/cve/cve-2024-8522/ (accessed 5 December 2026).