CVE-2024-8522: LearnPress – WordPress LMS Plugin <= 4.2.7 - Unauthenticated SQL Injection via 'c_only_fields'

Published Sep 12, 2024
·
Updated

The LearnPress – WordPress LMS Plugin plugin for WordPress is vulnerable to SQL Injection via the 'conlyfields' 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 Software

1 affected component
thimpress Learnpress Wordpress<4.2.7.1

Event History

Sep 12, 2024
CVE Published
via MITRE·08:30 AM
Data Sourced
via MITRE·08:30 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·09:15 AM
RemedyDescriptionSeverityWeaknessAffected Software
Apr 11, 2025
Exploit Published
12:00 AM
Known Exploited
05:48 AM
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2024-8522?

The severity of CVE-2024-8522 is classified as critical due to the potential for SQL Injection attacks.

2

How do I fix CVE-2024-8522?

To fix CVE-2024-8522, update the LearnPress – WordPress LMS Plugin to version 4.2.7.1 or later.

3

What versions of LearnPress are affected by CVE-2024-8522?

CVE-2024-8522 affects all versions up to and including 4.2.7 of the LearnPress plugin.

4

What impact does CVE-2024-8522 have on my WordPress site?

CVE-2024-8522 allows attackers to perform SQL Injection, which can lead to unauthorized access to your WordPress database.

5

Is there a public exploit for CVE-2024-8522?

As of now, there is no known public exploit specifically for CVE-2024-8522, but the potential for SQL Injection poses a significant risk.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203