CVE-2025-8213
HIGH
7.2
CVSS 3.1
Description
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.
Affected WordPress components
-
NinjaScanner – Virus & Malware scan Plugin · ninjascannerUp to and including 3.2.5View on WordPress.org
A confirmed match is backed by the plugin or theme slug. A possible match is based on the product name only and should be verified.
Affected products and versions
- nintechnet NinjaScanner – Virus & Malware scan — Up to and including 3.2.5
References
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/browser/ninjascanner/trunk/lib/ajax_hooks.php#L331
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/browser/ninjascanner/trunk/lib/tab_quarantine.php#L114
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/changeset/3336569/
- www.wordfence.com https://www.wordfence.com/threat-intel/vulnerabilities/id/6b1da345-ddbb-48ad-b0c1-bb0cb3b0fc69?source=cve
- nvd.nist.gov Official NVD record