High severity · published Jul 25, 2024
CVE-2024-6589
LearnPress <= 4.2.6.8.2 - Authenticated (Contributor+) Local File Inclusion
8.8
CVSS
0.8%
EPSS
No
On KEV
Description
The LearnPress – WordPress LMS Plugin plugin for WordPress is vulnerable to Local File Inclusion in all versions up to, and including, 4.2.6.8.2 via the 'render_content_block_template' function. This makes it possible for authenticated attackers, with Contributor-level access and above, to include and execute arbitrary files on the server, allowing the execution of any PHP code in those files. This can be used to bypass access controls, obtain sensitive data, or achieve code execution in cases where images and other “safe” file types can be uploaded and included.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Attack vector
Network
Complexity
Low
Privileges
Low
User interaction
None
Confidentiality
High
Integrity
High
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.8% · higher than 57% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
LW
LearnPress – WordPress LMS Plugin for Create and Sell Online Courses · thimpress
through 4.2.6.8.2 · source: vendor
LE
Learnpress · Thimpress
through 4.2.6.8.2 · source: NVD, CISA
Affected product
LW
LearnPress – WordPress LMS Plugin for Create and Sell Online Courses
thimpress
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2024-6589
CVE.org
https://www.cve.org/CVERecord?id=CVE-2024-6589
Product
https://plugins.trac.wordpress.org/browser/learnpress/tags/4.2.6.8.2/inc/block-template/class-block-template-archive-course.php#L28
Product
https://plugins.trac.wordpress.org/browser/learnpress/tags/4.2.6.8.2/inc/block-template/class-block-template-single-course.php#L28
Patch
https://plugins.trac.wordpress.org/changeset/3124296/
Third Party Advisory
https://www.wordfence.com/threat-intel/vulnerabilities/id/ba79bf95-08f8-4aa6-968b-f76a09ce52b8?source=cve
More from LearnPress – WordPress LMS Plugin for Create and Sell Online Courses
9.8
CVE-2026-104736
LearnPress <= 4.4.10 - Unauthenticated PHP Object Injection via 'checkout-email' Parameter
9.8
CVE-2024-4434
LearnPress – WordPress LMS Plugin <= 4.2.6.5 - Unauthenticated Time-Based SQL Injection
9.8
CVE-2023-6634
LearnPress <= 4.2.5.7 - Command Injection
9.1
CVE-2026-4365
LearnPress <= 4.3.2.8 - Missing Authorization to Unauthenticated Arbitrary Quiz Answer Deletion
8.8
CVE-2024-4397
LearnPress – WordPress LMS Plugin <= 4.2.6.5 - Authenticated (Instructor+) Arbitrary File Upload
