CVE-2026-8502: LearnPress <= 4.3.6 - Unauthenticated Sensitive Information Exposure via 'c_status' and 'return_type' Parameters
The LearnPress – WordPress LMS Plugin for Create and Sell Online Courses plugin for WordPress is vulnerable to Sensitive Information Exposure in all versions up to, and including, 4.3.6 via the 'returntype' parameter. This makes it possible for unauthenticated attackers to extract sensitive data including the plaintext postpassword of password-protected courses and the full postcontent, postauthor, and postname of unpublished draft, private, and pending courses via the unrestricted SELECT fallback query. Exploitation requires supplying both cstatus=all (to bypass the publish-only poststatus WHERE clause) and returntype=json (to prevent the safe DISTINCT(ID) AS ID field override) in a single unauthenticated request to the /wp-json/lp/v1/courses/archive-course endpoint.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Compensating control
Block or restrict access to the vulnerable REST endpoint. Configure a WAF, web server rule, or firewall to deny any unauthenticated requests to /wp-json/lp/v1/courses/archive-course that contain the query parameters c_status=all and return_type=json. If blocking by query is not possible, restrict the endpoint to authenticated users only or return HTTP 403 for requests to /wp-json/lp/v1/courses/archive-course from unauthenticated clients.
- Operational
Assume sensitive fields may have been exposed. Rotate the post_password values for all password-protected courses and review/change any exposed course metadata (post_content, post_author, post_name) for unpublished draft, private, and pending courses. Investigate logs for unauthenticated requests to /wp-json/lp/v1/courses/archive-course that included c_status=all and return_type=json and respond per incident-handling procedures.
Event History
Frequently Asked Questions
What is the severity of CVE-2026-8502?
The severity of CVE-2026-8502 is medium with a score of 5.3.
How do I fix CVE-2026-8502?
To fix CVE-2026-8502, update the LearnPress plugin to the latest version that addresses this vulnerability.
What type of vulnerability is CVE-2026-8502?
CVE-2026-8502 is a vulnerability related to unauthenticated sensitive information exposure.
Who is affected by CVE-2026-8502?
All users of LearnPress versions up to and including 4.3.6 are affected by CVE-2026-8502.
Can unauthenticated users exploit CVE-2026-8502?
Yes, unauthenticated attackers can exploit CVE-2026-8502 to extract sensitive data.