# LearnPress – WordPress LMS Plugin for Create and Sell Online Courses <= 4.4.15 - Authenticated (LP Instructor+) Server-Side Request Forgery via External Course Material Link

- **ID:** WPSEC-2026-3639
- **Plugin:** LearnPress – WordPress LMS Plugin for Create and Sell Online Courses (`learnpress`), https://wordpress.org/plugins/learnpress/
- **Affected versions:** from 4.2.8.7.5 before 4.5.0
- **Fixed in:** 4.5.0 (Update to 4.5.0 or later.)
- **Severity:** Medium 6.4 (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N)
- **Weakness:** CWE-918
- **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-3639/

## Description

The LearnPress plugin for WordPress is vulnerable to Server-Side Request Forgery via external course material links in versions 4.2.8.7.5 up to, and including, 4.4.15, due to missing URL validation when the link is saved and the use of wp_remote_head() instead of wp_safe_remote_head() when the material list is rendered. This makes it possible for authenticated attackers, with LP Instructor-level access and above, to make the web server send HEAD requests to arbitrary locations, including internal and loopback hosts, and read the returned Content-Length as the material's file size.

## References

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

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

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.
