NinjaScanner – Virus & Malware scan <= 3.2.5 - Authenticated (Administrator+) Arbitrary File Deletion

2025-07-30 00:00
Jonas Benjamin Friedli

Strategic Overview

Status
Patched in 3.2.6
Affected Version<= 3.2.5
CVSS7.2High
CVECVE-2025-8213
View all NinjaScanner – Virus & Malware scan vulnerabilities

Vulnerability Overview

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.

Technical Analysis

REMEDIATION: Update to version 3.2.6, or a newer patched version --- IDENTIFIER: CWE-36 (Absolute Path Traversal) The product uses external input to construct a pathname that should be within a restricted directory, but it does not properly neutralize absolute path sequences such as /abs/path that can resolve to a location that is outside of that directory.

External References

Vulnerability data © Defiant, Inc., provided under the Wordfence Intelligence T&C