CVE-2025-14802: LearnPress – WordPress LMS Plugin <= 4.3.2.2 - Insecure Direct Object Reference to Authenticated (Instructor+) Teacher Material Deletion
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/{fileid} REST API endpoint. This is due to a parameter mismatch between the DELETE operation and authorization check, where the endpoint uses fileid from the URL path but the permission callback validates itemid 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 itemid (to pass authorization) while targeting another teacher's fileid.
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2025-14802?
CVE-2025-14802 has been classified as a high-severity vulnerability due to its potential for unauthorized file deletion.
How do I fix CVE-2025-14802?
To fix CVE-2025-14802, update the LearnPress plugin to version 4.3.2.3 or later.
Which versions are affected by CVE-2025-14802?
CVE-2025-14802 affects all versions of the LearnPress plugin up to and including 4.3.2.2.
What component of LearnPress is vulnerable in CVE-2025-14802?
CVE-2025-14802 specifically affects the /wp-json/lp/v1/material/{file_id} REST API endpoint.
What could an attacker achieve by exploiting CVE-2025-14802?
An attacker could exploit CVE-2025-14802 to perform unauthorized file deletion, potentially compromising the integrity of the affected WordPress site.