Description
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.
Problem types
CWE-36 Absolute Path Traversal
Product status
5.201 (semver)
Timeline
| 2025-07-22: | Vendor Notified |
| 2025-07-23: | Disclosed |
Credits
Jonas Benjamin Friedli
References
www.wordfence.com/...-9978-48ec-8f87-229dc82938a8?source=cve
plugins.trac.wordpress.org/.../core-scanner/core-scanner.php
plugins.trac.wordpress.org/.../core-scanner/core-scanner.php
plugins.trac.wordpress.org/changeset/3333048/