10

CVE-2024-8522: thimpress learnpress SQL Injection

CVSS: 10.0v3.1CriticalModified
Published 12-09-2024Last modified 08-04-2026

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.

Overall risk
90/100
0100
Critical · default modelHow is this calculated?
CVSS score
10.0/10
010
Critical · v3.1 (CVE.org)
EPSS score
62.88%
0%100%
Critical · 0.00 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits2exploit-database, metasploit

Timeline

  1. 12-09-2024
    PublishedVulnerability first disclosed.
  2. 08-04-2026
    Last 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

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

21-09-202621-10-2026
EPSS score
62.88%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

2 found
  • exploit-databasephpUnverified

    LearnPress WordPress LMS Plugin 4.2.7 - SQL Injection

    Maturity: poc

  • MetasploitMetasploitremoteUnverified

    WordPress LearnPress Unauthenticated SQLi (CVE-2024-8522, CVE-2024-8529)

    auxiliary/scanner/http/wp_learnpress_c_fields_sqli

    Maturity: poc

Weaknesses

CWE · root cause

Affected systems

Thimpress2 products
Wordpress1 product
  • learnpress≤ 4.2.7 (fixed in 4.2.7.1)

2 vendors · 3 products

References

5 links