Single Post Template Security & Risk Analysis

wordpress.org/plugins/single-post-template

Single Post Template adds the ability for your theme to include "Post Templates" in much the same way you can add "Page Templates" …

4K active installs v1.4.4 PHP + WP 3.5+ Updated Apr 19, 2013
post-templatessingle-post-templatessingle-posts
85
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is Single Post Template Safe to Use in 2026?

Generally Safe

Score 85/100

Single Post Template has no known CVEs and is actively maintained. It's a solid choice for most WordPress installations.

No known CVEs Updated 13yr ago
Risk Assessment

The "single-post-template" v1.4.4 plugin exhibits a generally strong security posture based on the provided static analysis. The absence of any detected AJAX handlers, REST API routes, shortcodes, or cron events with unprotected entry points is commendable. Furthermore, the plugin demonstrates good practices by exclusively using prepared statements for SQL queries and incorporating nonce and capability checks, indicating a deliberate effort to prevent common web vulnerabilities.

However, the static analysis does reveal some areas for improvement. The presence of file operations without further context on their sanitization or purpose warrants caution. More significantly, only 50% of the detected output escaping is properly done, meaning the remaining 50% could potentially lead to cross-site scripting (XSS) vulnerabilities if the data being output is user-controlled or untrusted. The lack of any identified taint flows or critical/high severity issues in this area, combined with no historical vulnerabilities, is positive, but the half-hearted output escaping remains a notable concern.

Overall, the plugin appears to be developed with security in mind, particularly in its handling of database interactions and authentication. The primary weakness lies in the inconsistent output escaping, which should be addressed to achieve a more robust security profile. The absence of historical vulnerabilities is a good indicator, but it's important to note that this could also be due to the plugin's limited exposure or the analysis's scope.

Key Concerns

  • Half of output escaping is not properly done
  • Presence of file operations without context
Vulnerabilities
None known

Single Post Template Security Vulnerabilities

No known vulnerabilities — this is a good sign.
Version History

Single Post Template Release Timeline

v1.4.4Current
v1.4.3
v1.4.2
v1.4.1
v1.4
v1.3
v1.1
v1.0
Code Analysis
Analyzed Mar 16, 2026

Single Post Template Code Analysis

Dangerous Functions
0
Raw SQL Queries
0
0 prepared
Unescaped Output
2
2 escaped
Nonce Checks
1
Capability Checks
2
File Operations
1
External Requests
0
Bundled Libraries
0

Output Escaping

50% escaped4 total outputs
Attack Surface

Single Post Template Attack Surface

Entry Points0
Unprotected0
WordPress Hooks 4
actionadmin_menupost_templates.php:21
actionsave_postpost_templates.php:22
filtersingle_templatepost_templates.php:24
actionafter_setup_themepost_templates.php:152
Maintenance & Trust

Single Post Template Maintenance & Trust

Maintenance Signals

WordPress version tested3.6.1
Last updatedApr 19, 2013
PHP min version
Downloads106K

Community Trust

Rating88/100
Number of ratings14
Active installs4K
Developer Profile

Single Post Template Developer Profile

Nathan Rice

4 plugins · 37K total installs

89
trust score
Avg Security Score
93/100
Avg Patch Time
30 days
View full developer profile
Detection Fingerprints

How We Detect Single Post Template

Patterns used to identify this plugin on WordPress sites during automated security audits and web crawling.

Asset Fingerprints

HTML / DOM Fingerprints

HTML Comments
<!-- Single Post Template --><!-- Loop through templates, make them options --><!-- Verify this came from the our screen and with proper authorization, --><!-- because save_post can be triggered at other times -->+8 more
Data Attributes
name="pt_noncename"id="pt_noncename"name="_wp_post_template"id="post_template"class="dropdown"
FAQ

Frequently Asked Questions about Single Post Template