What the vulnerability does
01Description
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.
Explanation of Vulnerability in Simple Terms
02Summary
LearnPress versions up to 4.2.6.5 allow authenticated users to upload files without proper validation. An attacker with a low-privilege account can upload malicious files to the server, potentially executing code or compromising the site. Update to a version newer than 4.2.6.5 to fix this vulnerability.
What an attacker can do
03Attacker Capabilities
Upload and execute malicious files on the site server.
Potential impact on your site
04Site Impact
Compromised site with potential data theft, malware distribution, or complete takeover.
Conditions required to exploit
05Prerequisites
Attacker needs a low-privilege user account (e.g., student or instructor role).
Key dates
06Disclosure timeline
May 9, 2024
CVE published
April 8, 2026
Record updated