Public exploit available
Public proof-of-concept or exploit code exists (ExploitDB / Metasploit / Nuclei).

CVE-2024-8522SQL Injection in Learnpress

CWE-89SQL Injection7 documents7 sources
Severity
7.5HIGHNVD
CNA10.0VulnCheck10.0
EPSS
88.1%
top 0.51%
CISA KEV
Not in KEV
Exploit
PoC available
Public exploit / PoC exists
Timeline
PublishedSep 12
Latest updateApr 11

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

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:NExploitability: 3.9 | Impact: 3.6

Patches

🔴Vulnerability Details

3
GHSA
GHSA-3w3r-r6g6-w8x5: The LearnPress – WordPress LMS Plugin plugin for WordPress is vulnerable to SQL Injection via the 'c_only_fields' parameter of the /wp-json/learnpress2024-09-12
CVEList
LearnPress – WordPress LMS Plugin <= 4.2.7 - Unauthenticated SQL Injection via 'c_only_fields'2024-09-12
VulnCheck
thimpress learnpress Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')2024

💥Exploits & PoCs

3
Exploit-DB
LearnPress WordPress LMS Plugin 4.2.7 - SQL Injection2025-04-11
Metasploit
WordPress LearnPress Unauthenticated SQLi (CVE-2024-8522, CVE-2024-8529)
Nuclei
LearnPress < 4.2.7.1 - SQL Injection
CVE-2024-8522 — SQL Injection in Thimpress Learnpress | cvebase