CVE-2024-8522: thimpress learnpress SQL Injection
Vulnerability summary
CVE-2024-8522 is a critical (CVSS 10.0) SQL Injection vulnerability in thimpress learnpress. EPSS estimates a 62.88% chance of exploitation in the next 30 days, higher than 99.1% of scored vulnerabilities. 2 public exploits are recorded. Fixed in 4.2.7.1.
Timeline
- 12-09-2024PublishedVulnerability first disclosed.
- 08-04-2026Last modifiedVulnerability information updated.
Description
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.
CVSS metrics
3 scores · 3 sources · 1 version- NVDNIST7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:NDiffers
- wordfenceSource10.0CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
EPSS trend
Probability
62.88%
Chance of exploitation in the next 30 days
Percentile
99%
Versus all other CVEs
30-day change
0.00 pp
From 62.88% on 21-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
2 foundLearnPress WordPress LMS Plugin 4.2.7 - SQL Injection
Maturity: poc
WordPress LearnPress Unauthenticated SQLi (CVE-2024-8522, CVE-2024-8529)
auxiliary/scanner/http/wp_learnpress_c_fields_sqli
Maturity: poc
Weaknesses
CWE · root causeAffected systems
Thimpress2 products
Wordpress1 product
- learnpress≤ 4.2.7 (fixed in 4.2.7.1)
2 vendors · 3 products