CVE-2024-8522

LearnPress – WordPress LMS Plugin <= 4.2.7 - Unauthenticated SQL Injection via 'c_only_fields'

HIGH
7.5
CVSS Score
Published: September 12, 2024 at 08:30 AM UTC
Updated: June 17, 2026 at 08:22 AM UTC
1 product affected across 1 vendorLearnPress

Using LearnPress – WordPress LMS Plugin by thimpress?

Get instant alerts when new vulnerabilities affect LearnPress – WordPress LMS Plugin - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.5
Exploit prediction
EPSS 63%
SSVC
No known exploit

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

LearnPress· Thimpresswordpress-plugin
95%
v ≤ 4.2.7v < 4.2.7v < 4.2.7.1
Affected range stops below 4.2.7, so it looks safe — our inference, not a vendor statement
Affected range stops below 4.2.7.1, so it looks safe — our inference, not a vendor statement

SSVC — Action Prioritization

SSVCNo known exploitAutomatableTotal impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
NETWORK
Complexity
LOW
Privileges
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
NONE
Availability
NONE
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-89

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card