CVE-2025-8575
The LWS Cleaner plugin for WordPress is vulnerable to arbitrary file deletion due to insufficient file path validation in the 'lws_cl_delete_file' function in all versions up to, and including, 2.4.1.3. This makes it possible for authenticated attackers, with Administrator-level access and above, to delete arbitrary files on the server, which can easily lead to remote code execution when the right file is deleted (such as wp-config.php).
- Score
- CVSS 3.1 7.2 High
- Status
- Deferred - security@wordfence.com
- Published
- 2025-09-12
- Last modified
- 2026-04-08
- Weaknesses
- CWE-36
Affected products
References
- https://plugins.trac.wordpress.org/browser/lws-cleaner/trunk/lws-cleaner.php#L1144
- https://plugins.trac.wordpress.org/changeset/3359598/
- https://www.wordfence.com/threat-intel/vulnerabilities/id/fa37025a-7f20-4cfe-a7d0-38168f49b6d9?source=cve