Vulnerability 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.
CVSS Score
HIGH
Related Weaknesses (CWE)
References
- https://plugins.trac.wordpress.org/browser/ninjascanner/trunk/lib/ajax_hooks.php
- https://plugins.trac.wordpress.org/browser/ninjascanner/trunk/lib/tab_quarantine
- https://plugins.trac.wordpress.org/changeset/3336569/
- https://www.wordfence.com/threat-intel/vulnerabilities/id/6b1da345-ddbb-48ad-b0c
FAQ
What is CVE-2025-8213?
CVE-2025-8213 is a vulnerability with a CVSS score of 7.2 (HIGH). 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_sele...
How severe is CVE-2025-8213?
CVE-2025-8213 has been rated HIGH with a CVSS base score of 7.2/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2025-8213?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.