# LearnPress – WordPress LMS Plugin for Create and Sell Online Courses <= 4.4.15 - Unauthenticated Sensitive Information Exposure of Lesson and Non-Public Post Comments via 'course_id' Parameter

- **ID:** WPSEC-2026-3641
- **Plugin:** LearnPress – WordPress LMS Plugin for Create and Sell Online Courses (`learnpress`), https://wordpress.org/plugins/learnpress/
- **Affected versions:** from 4.2.7.6 before 4.5.0
- **Fixed in:** 4.5.0 (Update to 4.5.0 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-11-21)
- **Attack surface analysis:** https://attacksurface.wpsec.com/plugin/learnpress
- **Fix released:** 2026-11-20
- **Published:** 2026-11-21
- **URL:** https://wpsec.com/vuln/WPSEC-2026-3641/

## Description

The LearnPress plugin for WordPress is vulnerable to Sensitive Information Exposure in versions 4.2.7.6 up to, and including, 4.4.15, due to the render_html_comments callback of the public load_content_via_ajax handler loading the post given by a client-supplied course_id and rendering its approved comments without checking that the post is a course the visitor can view. This makes it possible for unauthenticated attackers to read the comments on lessons of paid or restricted courses and on private, draft and other non-public posts that have comments open.

## References

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

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

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.
