Custom HTML/PHP Post Templates Security & Risk Analysis

wordpress.org/plugins/html-php-pages-and-posts

Use your HTML or PHP files for any page or post.

70 active installs v2.0.0 PHP + WP 3.0.1+ Updated Jul 9, 2017
custom-pagescustom-postscustom-templateshtmlphp
85
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is Custom HTML/PHP Post Templates Safe to Use in 2026?

Generally Safe

Score 85/100

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

No known CVEs Updated 8yr ago
Risk Assessment

The "html-php-pages-and-posts" v2.0.0 plugin exhibits a generally good security posture based on the provided static analysis. The absence of dangerous functions, file operations, and external HTTP requests is a positive indicator. Furthermore, all SQL queries utilize prepared statements, which is a crucial security practice.

The primary area of concern lies in the output escaping. With only 6% of 33 outputs being properly escaped, there is a significant risk of Cross-Site Scripting (XSS) vulnerabilities. This means that user-supplied or dynamically generated content displayed on the frontend may not be adequately sanitized, potentially allowing attackers to inject malicious scripts.

The plugin's vulnerability history is clean, with no known CVEs. This, combined with the limited attack surface and apparent adherence to basic security practices like nonce and capability checks, suggests that the developers have a foundational understanding of security. However, the poor output escaping practices present a clear and present risk that needs immediate attention.

Key Concerns

  • Poor output escaping practices
Vulnerabilities
None known

Custom HTML/PHP Post Templates Security Vulnerabilities

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

Custom HTML/PHP Post Templates Release Timeline

v2.0.3
v2.0.2
v2.0.1
v2.0.0Current
v1.1.0
v1.0.0
Code Analysis
Analyzed Mar 16, 2026

Custom HTML/PHP Post Templates Code Analysis

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

Output Escaping

6% escaped33 total outputs
Attack Surface

Custom HTML/PHP Post Templates Attack Surface

Entry Points1
Unprotected0

Shortcodes 1

[html_php_page_post] html-php-pages-and-posts.php:31
WordPress Hooks 8
filtermime_typeshtml-php-pages-and-posts.php:26
filtersingle_templatehtml-php-pages-and-posts.php:27
filtertemplate_includehtml-php-pages-and-posts.php:28
filteradd_meta_boxeshtml-php-pages-and-posts.php:29
actionsave_posthtml-php-pages-and-posts.php:30
actionadmin_menuhtml-php-pages-and-posts.php:33
actionadmin_inithtml-php-pages-and-posts.php:34
actionadmin_enqueue_scriptshtml-php-pages-and-posts.php:35
Maintenance & Trust

Custom HTML/PHP Post Templates Maintenance & Trust

Maintenance Signals

WordPress version tested4.8.28
Last updatedJul 9, 2017
PHP min version
Downloads8K

Community Trust

Rating100/100
Number of ratings2
Active installs70
Developer Profile

Custom HTML/PHP Post Templates Developer Profile

Stephen AfamO

1 plugin · 70 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 HTML/PHP Post Templates

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/html-php-pages-and-posts/admin/js/custom-pages-and-posts.js/wp-content/plugins/html-php-pages-and-posts/admin/css/custom-pages-and-posts.css
Script Paths
/wp-content/plugins/html-php-pages-and-posts/admin/js/custom-pages-and-posts.js

HTML / DOM Fingerprints

Data Attributes
onclick="select_template(event, onclick="delete_template(event,
JS Globals
select_templatedelete_template
Shortcode Output
[html_php_page_post]
FAQ

Frequently Asked Questions about Custom HTML/PHP Post Templates