CVE-2025-8213 NinjaScanner – Virus & Malware scan <= 3.2.5 - Authenticated (Administrator+) Arbitrary File Deletion
Authenticated administrators can delete arbitrary files on the server due to insufficient path validation in the NinjaScanner WordPress plugin.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2025-8213?
CVE-2025-8213 is a high-severity path traversal vulnerability in nintechnet NinjaScanner – Virus & Malware scan, published on 31 Jul 2025. An attacker needs administrator access to exploit it, with no action from the victim.
Official 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.
Weakness: CWE-36
Which versions are affected by CVE-2025-8213?
How do I fix CVE-2025-8213?
No fix has been published for CVE-2025-8213 yet. Limit exposure of the affected software until one is available.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2025-8213 being exploited?
There is no known exploitation of CVE-2025-8213 in the wild and no public exploit code.
Sources
Also known as GHSA-j98h-m6px-h428.