LWS Cleaner <= 2.4.1.3 - Authenticated (Administrator+) Arbitrary File Deletion via 'lws_cl_delete_file'

7.2
Absolute Path Traversal
CVE CVE-2025-8575
CVSS 7.2 (High)
Publicly Published September 11, 2025
Last Updated September 12, 2025
Researcher Jonas Benjamin Friedli

Description

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).

References

Share

Vulnerability Details for LWS Cleaner

Software Type Plugin
Software Slug lws-cleaner (view on wordpress.org)
Patched? Yes
Remediation Update to version 2.4.2, or a newer patched version
Affected Version
  • <= 2.4.1.3
Patched Version
  • 2.4.2

Did you know Wordfence Intelligence provides free personal and commercial API access to our comprehensive WordPress vulnerability database, along with a free webhook integration to stay on top of the latest vulnerabilities added and updated in the database? Get started today!

Learn more

Want to get notified of the latest vulnerabilities that may affect your WordPress site?
Install Wordfence on your site today to get notified immediately if your site is affected by a vulnerability that has been added to our database.

Get Wordfence

The Wordfence Intelligence WordPress vulnerability database is completely free to access and query via API. Please review the documentation on how to access and consume the vulnerability data via API.

Documentation