CVE-2025-8213
The NinjaScanner – Virus & Malware scan plugin for WordPress is …
The NinjaScanner – Virus & Malware scan plugin for WordPress is vulnerable to arbitrary file deletion due to insufficient file path validation in the 'nscan_ajax_quarantine' and 'nscan_quarantine_select' functions in all versions up to, and including, 3.2.5. This makes it possible for authenticated attackers, with Administrator-level access and above, to delete arbitrary files on the server, including files outside the WordPress root directory.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- plugins.trac.wordpress.org/browser/ninjascanner/trunk/lib/ajax_hooks.php#L331
- plugins.trac.wordpress.org/browser/ninjascanner/trunk/lib/tab_quarantine.php#L114
- plugins.trac.wordpress.org/changeset/3336569/
- www.wordfence.com/threat-intel/vulnerabilities/id/6b1da345-ddbb-48ad-b0c1-bb0cb3b0fc69?sou
- nvd.nist.gov/vuln/detail/CVE-2025-8213
- cve.org/CVERecord?id=CVE-2025-8213
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.