# LearnPress – WordPress LMS Plugin for Create and Sell Online Courses <= 4.5.0 - Unauthenticated Sensitive Information Exposure of Lesson and Quiz Content via Search Query and Array 'post_type' Parameter

- **ID:** WPSEC-2026-4468
- **Plugin:** LearnPress – WordPress LMS Plugin for Create and Sell Online Courses (`learnpress`), https://wordpress.org/plugins/learnpress/
- **Affected versions:** all versions before 4.5.1
- **Fixed in:** 4.5.1 (Update to 4.5.1 or later.)
- **Severity:** Medium 5.3 (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N)
- **Weakness:** CWE-200
- **Usage among sites WPSec scans:** plugin Medium, affected versions Medium (as of 2026-12-03)
- **Attack surface analysis:** https://attacksurface.wpsec.com/plugin/learnpress
- **Fix released:** 2026-12-02
- **Published:** 2026-12-03
- **URL:** https://wpsec.com/vuln/WPSEC-2026-4468/

## Description

The LearnPress plugin for WordPress is vulnerable to Sensitive Information Exposure in all versions up to, and including, 4.5.0. This is due to the check that returns a 404 page for direct requests to course items (lessons, quizzes, questions) being skipped for search queries and only handling a scalar 'post_type' value. This makes it possible for unauthenticated attackers to view lesson and quiz content directly, for example via '?s=&post_type=lp_lesson' or '?post_type[]=lp_lesson&name=<slug>'. This bypasses course enrollment and purchase requirements.

## References

- https://wpsec.com/vuln/WPSEC-2026-4468/
- https://plugins.svn.wordpress.org/learnpress/tags/4.5.1/
- https://wordpress.org/plugins/learnpress/

Source: WPSec, https://wpsec.com/vuln/WPSEC-2026-4468/

License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Free to use, share and adapt, also commercially, if you credit WPSec and link to this advisory.
