CWE
89
EPSS
2.759%
Advisory Published
Updated

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

First published: Thu Sep 12 2024(Updated: )

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.

Credit: security@wordfence.com

Affected SoftwareAffected VersionHow to fix
ThimPress LearnPress<4.2.7.1

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • 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.

  • 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.

  • 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.

  • 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.

  • 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.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203