---
id: CVE-2025-14802
title: >-
  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
summary: >-
  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 be…
severity: medium
cvss: 5.4
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L'
cwe:
  - CWE-639
published: '2026-01-07'
updated: '2026-09-30'
sourceUpdated: '2026-09-30T22:10:00.273'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2025-14802'
references:
  - url: >-
      https://plugins.trac.wordpress.org/browser/learnpress/tags/4.3.2.1/inc/rest-api/v1/frontend/class-lp-rest-material-controller.php#L405
    label: security@wordfence.com
  - url: >-
      https://plugins.trac.wordpress.org/browser/learnpress/tags/4.3.2.1/inc/rest-api/v1/frontend/class-lp-rest-material-controller.php#L527
    label: security@wordfence.com
  - url: >-
      https://plugins.trac.wordpress.org/browser/learnpress/tags/4.3.2.1/inc/rest-api/v1/frontend/class-lp-rest-material-controller.php#L77
    label: security@wordfence.com
  - url: >-
      https://plugins.trac.wordpress.org/browser/learnpress/tags/4.3.2.3/inc/rest-api/v1/frontend/class-lp-rest-material-controller.php#L403
    label: security@wordfence.com
  - url: >-
      https://www.wordfence.com/threat-intel/vulnerabilities/id/884c4508-1ee1-4384-9fc2-29e2c9042426?source=cve
    label: security@wordfence.com
tags:
  - nvd
epss: 0.00326
epssPercentile: 0.23313
ingestedAt: '2026-09-30T22:27:27.712Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
