ZeroHour

CVE-2026-12483

large

Unrestricted File Upload in LearnDash LMS WordPress Plugin

CVSS 3.1
7.5 high
EPSS
<1%p32
Published
()
Modified
AI analysis

LearnDash LMS for WordPress in versions up to and including 5.1.5 contains an unrestricted file type upload flaw in its assignment-upload feature: the learndash_fileupload_process function validates only the first file in a submission, allowing disallowed file types such as PHP to slip through. To exploit it, an attacker needs a subscriber-level or higher account enrolled in a course with assignment uploads enabled, then submits multiple files so that later, unvalidated ones are accepted into wp-content/uploads/learndash/assignments/. Uploaded PHP files can lead to remote code execution only if the server has been reconfigured to execute PHP from that directory, which is not the default; otherwise the impact is limited to arbitrary file upload. Any WordPress site running LearnDash 5.1.5 or earlier with the assignment upload feature enabled in an active course is affected. No public proof-of-concept or confirmed in-the-wild exploitation is currently known, and EPSS estimates only a 0.4% probability of exploitation within the next 30 days.

What to do: Sites running LearnDash 5.1.5 or earlier should update to the latest patched release. As an interim mitigation, disable assignment uploads in courses and configure the web server to deny PHP execution within wp-content/uploads/learndash/assignments/. Administrators should also inspect that directory for unexpected PHP files that could indicate prior abuse.

Affected
LearnDash LMS (WordPress plugin)up to and including 5.1.5
Estimated exposure
largetens of thousands of WordPress sites (widely deployed premium LMS plugin; likely 50,000–100,000+ installs, of which only a subset enable assignment uploads) — LearnDash is one of the most widely used commercial LMS plugins for WordPress, with industry and vendor estimates placing deployments in the tens of thousands to around 100,000 sites, though exact active-install counts are not publicly…

Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.

Description

The LearnDash LMS plugin for WordPress is vulnerable to Unrestricted File Type Upload in versions up to and including 5.1.5. This is due to insufficient input validation in the 'learndash_fileupload_process' function, which iterates through an entire array and validates only the first file. This makes it possible for authenticated attackers, with subscriber-level access and above who are enrolled in a course with assignment uploads enabled, to upload arbitrary disallowed files, including PHP files, to the server's wp-content/uploads/learndash/assignments/ directory. The uploaded files can only be used for Remote Code Execution if default server configurations have been changed to allow for execution.

Ecosystems
WordPress
Weakness
CWE-434
Vector
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

In the news

No ingested article mentions this CVE yet.