Description
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 'return_type' parameter. This makes it possible for unauthenticated attackers to extract sensitive data including the plaintext post_password of password-protected courses and the full post_content, post_author, and post_name of unpublished draft, private, and pending courses via the unrestricted SELECT * fallback query. Exploitation requires supplying both c_status=all (to bypass the publish-only post_status WHERE clause) and return_type=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.
Problem types
Product status
Any version
Timeline
| 2026-05-13: | Vendor Notified |
| 2026-06-05: | Disclosed |
Credits
Jamshed Yergashvoyev
References
www.wordfence.com/...-4473-4075-b660-9bba083ae0bf?source=cve
plugins.trac.wordpress.org/...s/4.3.6/inc/Models/Courses.php
plugins.trac.wordpress.org/...s/4.3.6/inc/Models/Courses.php
plugins.trac.wordpress.org/...lp-rest-courses-controller.php
plugins.trac.wordpress.org/...lp-rest-courses-controller.php
plugins.trac.wordpress.org/...tabases/class-lp-course-db.php
plugins.trac.wordpress.org/.../inc/Databases/class-lp-db.php
plugins.trac.wordpress.org/...4.3.2.8/inc/Models/Courses.php
plugins.trac.wordpress.org/...4.3.2.8/inc/Models/Courses.php
plugins.trac.wordpress.org/...lp-rest-courses-controller.php
plugins.trac.wordpress.org/...lp-rest-courses-controller.php
plugins.trac.wordpress.org/...tabases/class-lp-course-db.php
plugins.trac.wordpress.org/.../inc/Databases/class-lp-db.php
plugins.trac.wordpress.org/...arnpress&sfp_email=&sfph_mail=