Template Base On Category Security & Risk Analysis

wordpress.org/plugins/template-base-on-category

Change the template for category and post in category base on your category ID

10 active installs v1.0 PHP + WP 3.0+ Updated Oct 21, 2015
categorycategory-templatechange-template-base-on-categorytemplate-changetemplate-for-category
85
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is Template Base On Category Safe to Use in 2026?

Generally Safe

Score 85/100

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

No known CVEs Updated 10yr ago
Risk Assessment

The plugin "template-base-on-category" v1.0 exhibits a mixed security posture. On the positive side, the plugin demonstrates good practices by avoiding dangerous functions, performing all SQL queries with prepared statements, and not making external HTTP requests or file operations. It also has a clean vulnerability history with no recorded CVEs. However, significant concerns arise from the static analysis. A notable weakness is that 100% of output is not properly escaped, indicating a high risk of Cross-Site Scripting (XSS) vulnerabilities. Furthermore, the taint analysis reveals two flows with unsanitized paths, suggesting potential for unexpected behavior or code execution if these paths are triggered, though they are not classified as critical or high severity. The complete absence of nonce checks and capability checks across all potential entry points (though currently zero) is a foundational security weakness that could be exploited if any entry points are added in future versions or if the current zero-entry-point count is a temporary state.

While the plugin's current attack surface is zero, making it appear secure in its current state, the underlying code quality raises red flags. The lack of output escaping and the presence of unsanitized taint flows, coupled with a complete absence of authentication/authorization mechanisms for potential entry points, create a latent risk. If the plugin's functionality or entry points evolve, these weaknesses could become critical vulnerabilities. The plugin's clean history is a positive indicator of past development, but it doesn't negate the present risks identified in the code analysis.

Key Concerns

  • Unescaped output
  • Flows with unsanitized paths
  • Missing nonce checks
  • Missing capability checks
Vulnerabilities
None known

Template Base On Category Security Vulnerabilities

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

Template Base On Category Release Timeline

v1.0Current
v0.1
Code Analysis
Analyzed Apr 16, 2026

Template Base On Category Code Analysis

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

Output Escaping

0% escaped1 total outputs
Data Flows · Security
2 unsanitized

Data Flow Analysis

2 flows2 with unsanitized paths
jamviet_save_taxonomy (template-base-on-category.php:66)
Source (user input) Sink (dangerous op) Sanitizer Transform Unsanitized Sanitized
Attack Surface

Template Base On Category Attack Surface

Entry Points0
Unprotected0
WordPress Hooks 6
actioncategory_edit_form_fieldstemplate-base-on-category.php:29
actioncategory_add_form_fieldstemplate-base-on-category.php:30
actionedited_categorytemplate-base-on-category.php:62
actioncreated_categorytemplate-base-on-category.php:63
filterpre_option_templatetemplate-base-on-category.php:74
filterpre_option_stylesheettemplate-base-on-category.php:75
Maintenance & Trust

Template Base On Category Maintenance & Trust

Maintenance Signals

WordPress version tested4.3.34
Last updatedOct 21, 2015
PHP min version
Downloads2K

Community Trust

Rating20/100
Number of ratings1
Active installs10
Developer Profile

Template Base On Category Developer Profile

Jam Viet

6 plugins · 90 total installs

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

How We Detect Template Base On Category

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

Asset Fingerprints

HTML / DOM Fingerprints

CSS Classes
form-field
Data Attributes
name="cat_theme"
FAQ

Frequently Asked Questions about Template Base On Category