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.
Problem types
CWE-36 Absolute Path Traversal
Product status
* (semver)
Timeline
| 2025-07-30: | Disclosed |
Credits
Jonas Benjamin Friedli
References
www.wordfence.com/...-ddbb-48ad-b0c1-bb0cb3b0fc69?source=cve
plugins.trac.wordpress.org/...anner/trunk/lib/ajax_hooks.php
plugins.trac.wordpress.org/...r/trunk/lib/tab_quarantine.php
plugins.trac.wordpress.org/changeset/3336569/