Page Templates for Posts Security & Risk Analysis

wordpress.org/plugins/page-templates-for-posts

This plugin lets you apply page templates to the posts.

20 active installs v1.0 PHP + WP 3.0.1+ Updated Dec 15, 2012
blog-poststemplatetemplates-for-posts
85
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is Page Templates for Posts Safe to Use in 2026?

Generally Safe

Score 85/100

Page Templates for Posts 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 'page-templates-for-posts' plugin version 1.0 exhibits a strong security posture based on the provided static analysis. The absence of AJAX handlers, REST API routes, shortcodes, and cron events significantly limits the potential attack surface. Furthermore, the code demonstrates good practices by not using dangerous functions, performing all SQL queries using prepared statements, and ensuring 100% of output is properly escaped. The presence of capability checks, albeit only one, also suggests an awareness of WordPress security mechanisms.

The taint analysis reveals no unsanitized paths or critical/high severity flows, reinforcing the low-risk profile. The plugin's vulnerability history is clean, with zero recorded CVEs, indicating a lack of publicly known security flaws. This combination of minimal attack surface, secure coding practices, and no historical vulnerabilities points to a well-developed and secure plugin. However, the lack of any identified entry points or nonce checks, while seemingly positive in terms of attack surface, might also suggest a very limited feature set or an incomplete analysis. A comprehensive assessment would ideally include a deeper dive into the plugin's functionality.

Vulnerabilities
None known

Page Templates for Posts Security Vulnerabilities

No known vulnerabilities — this is a good sign.
Code Analysis
Analyzed Mar 16, 2026

Page Templates for Posts Code Analysis

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

Page Templates for Posts Attack Surface

Entry Points0
Unprotected0
WordPress Hooks 3
actionadd_meta_boxestemplatesforposts.php:16
actionsave_posttemplatesforposts.php:19
filtersingle_templatetemplatesforposts.php:22
Maintenance & Trust

Page Templates for Posts Maintenance & Trust

Maintenance Signals

WordPress version tested3.5.2
Last updatedDec 15, 2012
PHP min version
Downloads3K

Community Trust

Rating100/100
Number of ratings2
Active installs20
Developer Profile

Page Templates for Posts Developer Profile

Gagan Goraya

3 plugins · 1K total installs

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

How We Detect Page Templates for Posts

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/page-templates-for-posts/templatesforposts.php

HTML / DOM Fingerprints

CSS Classes
screen-reader-text
Data Attributes
name="post_template"id="post_template"
FAQ

Frequently Asked Questions about Page Templates for Posts