What the vulnerability does
01Description
The Security Ninja – WordPress Security Plugin & Firewall plugin for WordPress is vulnerable to Arbitrary File Read in all versions up to, and including, 5.242 via the 'get_file_source' function. This makes it possible for authenticated attackers, with Administrator-level access and above, to extract sensitive data, including the contents of any file on the server.
Explanation of Vulnerability in Simple Terms
02Summary
Security Ninja versions 5.201 through 5.242 contain a path traversal vulnerability that allows high-privilege users to read sensitive files on the server. An attacker with administrator or equivalent access can bypass file access restrictions and view confidential data. Update to a version newer than 5.242 to resolve this issue.
What an attacker can do
03Attacker Capabilities
Read sensitive files on the server outside intended directories.
Potential impact on your site
04Site Impact
Administrators with malicious intent or compromised admin accounts can access confidential server files.
Conditions required to exploit
05Prerequisites
Attacker must have high-level WordPress privileges (administrator or equivalent role).
Key dates
06Disclosure timeline
July 24, 2025
CVE published
July 24, 2025
Record updated