
which template file Security & Risk Analysis
wordpress.org/plugins/which-template-fileShow the name of the php file of your theme used to display the current page.
Is which template file Safe to Use in 2026?
Generally Safe
Score 91/100which template file has a strong security track record. Known vulnerabilities have been patched promptly. It's a solid choice for most WordPress installations.
The 'which-template-file' plugin version 5.2.0 presents a mixed security posture. On the positive side, it boasts a zero attack surface in terms of AJAX handlers, REST API routes, shortcodes, and cron events, and all identified SQL queries are properly prepared. The presence of a nonce check is also a positive indicator. However, a significant concern arises from the complete lack of output escaping across all 12 identified output points. This suggests a high risk of Cross-Site Scripting (XSS) vulnerabilities, where user-supplied data could be injected into the output and executed by a victim's browser.
The taint analysis reveals one flow with unsanitized paths, which, while not rated as critical or high severity in this analysis, still indicates a potential weakness in how file paths are handled. The plugin's vulnerability history is a major red flag. With two documented medium-severity CVEs in the past, specifically related to XSS and CSRF, the trend points towards recurring input validation and output sanitization issues. The fact that these vulnerabilities were in the past and are currently unpatched according to the data is concerning, though the "currently unpatched: 0" implies they have been addressed. The recurring nature of these vulnerability types, particularly XSS, coupled with the current lack of output escaping, strongly suggests an ongoing risk.
In conclusion, while the plugin has a minimal attack surface and handles SQL securely, the critical weakness in output escaping and the history of XSS and CSRF vulnerabilities create a substantial risk. The taint analysis, though not indicating critical severity, adds to the overall concern regarding input handling. Users should be highly cautious, and developers should prioritize addressing the output escaping deficiency immediately.
Key Concerns
- All outputs are unescaped
- Flow with unsanitized paths
- History of medium severity CVEs (2)
- Vulnerability types include XSS and CSRF
which template file Security Vulnerabilities
CVEs by Year
Severity Breakdown
2 total CVEs
which template file <= 5.0.0 - Unauthenticated Cross-Site Scripting
which template file <= 4.8.0 - Cross-Site Request Forgery
which template file Release Timeline
which template file Code Analysis
Output Escaping
Data Flow Analysis
which template file Attack Surface
WordPress Hooks 8
Maintenance & Trust
which template file Maintenance & Trust
Maintenance Signals
Community Trust
which template file Alternatives
Show Current Template
show-current-template
A WordPress plugin which shows the current template file name, the current theme name and included template files' name in the tool bar.
What The File
what-the-file
What The File is the best tool to find out what template parts are used to display the page you're currently viewing!
Hide Admin Bar from Non-Admins
hide-admin-bar-from-non-admins
Hides the WordPress toolbar (admin bar) for all non-admin users. Simple plugin with no settings to configure.
My WP Customize Admin/Frontend
my-wp
Simply and easy-to-use the customize for Admin and Frontend. A lot of custom filters and actions, and included the developer tools.
Bottom Admin Toolbar
bottom-admin-toolbar
Stick the WordPress admin bar to the bottom of the screen. Hide it with SHIFT + Down Arrow keyboard shortcut.
which template file Developer Profile
3 plugins · 4K total installs
How We Detect which template file
Patterns used to identify this plugin on WordPress sites during automated security audits and web crawling.
Asset Fingerprints
/wp-content/plugins/which-template-file/admin/class_page_admin.php/wp-content/plugins/which-template-file/admin/add_menu_page.phpHTML / DOM Fingerprints
class_gwp_my_template_file