Auth bypass in Thimpress Learnpress – WordPress Lms Plugin For Create And Sell Online Courses
CVE-2025-14802
The LearnPress – WordPress LMS Plugin for WordPress is vulnerable to unauthorized file deletion in versions up to, and including, 4.3.2.2 via the /wp-json/lp/v1/material/{file_id} REST API endpoint. This is due to a parameter mismatch between the DELETE operation and authorization check, where the endpoint uses file_id from the URL path but the permission callback validates item_id from the request body. This makes it possible for authenticated attackers, with teacher-level access, to delete arbitrary lesson material files uploaded by other teachers via sending a DELETE request with their own item_id (to pass authorization) while targeting another teacher's file_id.
Vulnerability class: IDOR (Insecure Direct Object Reference)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.4 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L.
EPSS exploit prediction
EPSS 0.003, 25.5th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
Weakness classification (CWE)
References
- www.wordfence.com/threat-intel/vulnerabilities/id/884c4508-1ee1-4384-9fc2-29e2c…
- plugins.trac.wordpress.org/browser/learnpress/tags/4.3.2.1/inc/rest-api/v1/fron…
- plugins.trac.wordpress.org/browser/learnpress/tags/4.3.2.1/inc/rest-api/v1/fron…
- plugins.trac.wordpress.org/browser/learnpress/tags/4.3.2.1/inc/rest-api/v1/fron…
- plugins.trac.wordpress.org/browser/learnpress/tags/4.3.2.3/inc/rest-api/v1/fron…