Custom Templates Security & Risk Analysis

wordpress.org/plugins/custom-templates

Custom post content templates based on post types.

40 active installs v1.2.1 PHP + WP 4.4+ Updated Jan 26, 2017
contentcustomizeeditortemplatetemplates
85
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is Custom Templates Safe to Use in 2026?

Generally Safe

Score 85/100

Custom Templates has no known CVEs and is actively maintained. It's a solid choice for most WordPress installations.

No known CVEs Updated 9yr ago
Risk Assessment

The custom-templates plugin v1.2.1 exhibits a generally positive security posture based on the provided static analysis and vulnerability history. The absence of known CVEs and a clean vulnerability history suggest a history of secure development or prompt patching. The plugin also demonstrates good practices by utilizing prepared statements for all SQL queries and avoiding dangerous functions, file operations, and external HTTP requests. The total entry points are limited to a single shortcode, with no unprotected entry points identified, which is a strong indicator of a reduced attack surface.

However, the analysis does raise some concerns. A significant weakness is the lack of any identified nonce checks or capability checks. This means that the shortcode, the sole entry point, may not be adequately protected against unauthorized execution. Furthermore, the output escaping is alarmingly low, with only 14% of outputs properly escaped. This presents a substantial risk of Cross-Site Scripting (XSS) vulnerabilities, as unsanitized output can be injected with malicious scripts that are then rendered by the user's browser. The lack of taint analysis results also makes it difficult to fully assess the risks associated with data flow within the plugin.

In conclusion, while the plugin benefits from a clean historical record and adherence to some secure coding principles, the absence of nonces/capability checks and the very low output escaping rate are critical security weaknesses that expose users to significant risks, particularly XSS. The limited scope of the static analysis and the lack of taint flow data prevent a comprehensive assessment, but these identified issues warrant immediate attention and remediation.

Key Concerns

  • Missing nonce checks
  • Missing capability checks
  • Low output escaping rate (14%)
Vulnerabilities
None known

Custom Templates Security Vulnerabilities

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

Custom Templates Release Timeline

No version history available.
Code Analysis
Analyzed Mar 16, 2026

Custom Templates Code Analysis

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

SQL Query Safety

100% prepared1 total queries

Output Escaping

14% escaped7 total outputs
Attack Surface

Custom Templates Attack Surface

Entry Points1
Unprotected0

Shortcodes 1

[tmpl_field] custom-templates.php:131
WordPress Hooks 9
filterthe_contentcustom-templates.php:28
filterthe_titlecustom-templates.php:40
filterwpseo_titlecustom-templates.php:58
filterwpseo_metadesccustom-templates.php:70
filterwpseo_metakeywordscustom-templates.php:82
filtercomments_opencustom-templates.php:90
actioninittemplate-custom-post-type.php:5
actionadd_meta_boxestemplate-meta-boxes.php:7
actionsave_post_templatetemplate-meta-boxes.php:76
Maintenance & Trust

Custom Templates Maintenance & Trust

Maintenance Signals

WordPress version tested4.7.33
Last updatedJan 26, 2017
PHP min version
Downloads3K

Community Trust

Rating0/100
Number of ratings0
Active installs40
Developer Profile

Custom Templates Developer Profile

JohnnyPea

8 plugins · 140 total installs

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

How We Detect Custom Templates

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

Asset Fingerprints

HTML / DOM Fingerprints

Data Attributes
name="template_display_post_type[]"name="template_extra_field_title"name="template_extra_field_seo_title"name="template_extra_field_seo_desc"name="template_extra_field_seo_keywords"name="template_extra_field_comments"
Shortcode Output
[tmpl_field name="
FAQ

Frequently Asked Questions about Custom Templates