NinjaScanner – Virus & Malware scan: Arbitrary file deletion
NinjaScanner – Virus & Malware scan is affected by arbitrary file deletion. Exploitation requires an authenticated administrator account. A successful request can remove files outside the intended scope and may make the site unavailable.
- Component
- NinjaScanner – Virus & Malware scan
- Plugin slug
ninjascanner- Affected
- See vendor advisory
- Safe version
- See mitigation notes
- Published
- Jul 31, 2025
- Weakness
- CWE-36 — Absolute Path Traversal
This CVE was published Jul 31, 2025 and is one of 1 known issue for this plugin.
Update, patch or deactivate.
No fixed release is identified. Update NinjaScanner – Virus & Malware scan when a confirmed fixed release becomes available; until then, disable and remove it when the site's risk warrants.
No confirmed safe version is listed. Consider a vendor-supported patch or temporarily restricting the affected functionality while you assess the risk.
Deactivate only when warranted by your risk profile, or when advised by your hosting provider in the limited circumstances where the vulnerability cannot otherwise be mitigated. If you’re unsure which action is appropriate, contact Fused or your hosting provider for guidance.
Technical 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.
CVE / CNA vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H