Vulnerability Description
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.
CVSS Score
MEDIUM
Related Weaknesses (CWE)
References
- https://plugins.trac.wordpress.org/browser/learnpress/tags/4.3.2.1/inc/rest-api/
- https://plugins.trac.wordpress.org/browser/learnpress/tags/4.3.2.1/inc/rest-api/
- https://plugins.trac.wordpress.org/browser/learnpress/tags/4.3.2.1/inc/rest-api/
- https://plugins.trac.wordpress.org/browser/learnpress/tags/4.3.2.3/inc/rest-api/
- https://www.wordfence.com/threat-intel/vulnerabilities/id/884c4508-1ee1-4384-9fc
FAQ
What is CVE-2025-14802?
CVE-2025-14802 is a vulnerability with a CVSS score of 5.4 (MEDIUM). 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. T...
How severe is CVE-2025-14802?
CVE-2025-14802 has been rated MEDIUM with a CVSS base score of 5.4/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2025-14802?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.