Overview

The plugin provides a drag-and-drop interface for uploading files. An endpoint that handles delete requests does not sanitize the file path supplied by the caller. As a result, any user, even without authentication, can craft a request that causes the server to delete files or directories specified in the path, including critical WordPress configuration files.

Technical details

The vulnerability resides in the delete functionality of the Easy DragDrop File Uploader plugin. The code concatenates a user-controlled path parameter directly into a file system delete call without any validation or restriction. Exploitation requires only knowledge of the endpoint URL; no valid WordPress credentials are needed. When a crafted request is sent, the server executes an unlink or rmdir on the supplied absolute or relative path, leading to arbitrary file or directory removal.

Impact

An unauthenticated attacker can delete any file that the web-server process can write to, including wp-config.php, other plugin files, or uploaded content. Deleting critical configuration or core files can lead to site defacement, loss of functionality, or complete takeover of the WordPress installation. All WordPress sites that have the vulnerable plugin installed are at risk.

Recommended actions

  • Update the plugin to version 1.1.10 or later, applying the vendor’s fix.
  • If an immediate update is not possible, disable the Easy DragDrop File Uploader plugin until it can be patched.
  • Restrict external access to the plugin’s upload and delete endpoints to trusted IP addresses or internal networks.
  • Monitor file system audit logs for unexpected deletions of WordPress core or configuration files.
  • Enable alerting on changes to wp-config.php and other critical files.

Detection

Review web server and WordPress access logs for requests to the plugin’s delete endpoint that contain path parameters, especially those referencing wp-config.php or parent directories. Correlate with file integrity monitoring alerts for sudden removal of critical files. Look for HTTP 200/204 responses from unauthenticated IPs that coincide with file deletions. Enable logging of PHP errors and filesystem operations to aid detection.

Reference: NVD entry for CVE-2026-124822