CVE-2024-4397
The LearnPress – WordPress LMS Plugin plugin for WordPress is vulnerable to arbitrary file uploads due to missing file type validation in the 'save_post_materials' function in versions up to, and including, 4.2.6.5. This makes it possible for authenticated attackers, with Instructor-level permissions and above, to upload arbitrary files on the affected site's server which may make remote code execution possible.
- Score
- CVSS 3.1 8.8 High
- Status
- Modified - security@wordfence.com
- Published
- 2024-05-14
- Last modified
- 2026-04-08
- Weaknesses
- CWE-434
Affected products
- Learnpress (Thimpress)
- Learnpress Wordpress Lms Plugin For Create And Sell Online Courses (Thimpress)
References
- https://plugins.trac.wordpress.org/browser/learnpress/tags/4.2.6.5/inc/rest-api/v1/frontend/class-lp-rest-material-cont…
- https://plugins.trac.wordpress.org/changeset/3083657/
- https://www.wordfence.com/threat-intel/vulnerabilities/id/ec20d5c4-4c41-4ec9-8d0a-ec8f03634f7d?source=cve