Custom Post Display Security & Risk Analysis

wordpress.org/plugins/custom-post-display

The Custom Post Display Plugin lets you add a widget that displays the content of your desired custom post type.

50 active installs v1.2 PHP + WP 3.3.1+ Updated Nov 7, 2015
custom-post-typecustom-post-widgetdisplay-custom-post-content
85
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is Custom Post Display Safe to Use in 2026?

Generally Safe

Score 85/100

Custom Post Display 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 "custom-post-display" v1.2 plugin exhibits a mixed security posture. On the positive side, the plugin has no known vulnerabilities (CVEs), a clean vulnerability history, and does not perform file operations or external HTTP requests. Furthermore, all identified SQL queries utilize prepared statements, which is a strong security practice. However, there are significant concerns regarding code quality and potential for security issues. The presence of the `create_function` dangerous function, even if not directly exploited in static analysis, is a red flag as it can be misused. More critically, only 5% of output escaping is properly implemented, meaning 95% of the 44 output operations are potentially vulnerable to cross-site scripting (XSS) attacks. The complete absence of nonce checks and capability checks across all entry points (even though the attack surface is currently reported as zero) leaves the plugin highly exposed should any new entry points be introduced or discovered, as there will be no built-in protection against common web attacks.

Key Concerns

  • Low percentage of output properly escaped
  • Presence of dangerous function create_function
  • No nonce checks
  • No capability checks
Vulnerabilities
None known

Custom Post Display Security Vulnerabilities

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

Custom Post Display Code Analysis

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

Dangerous Functions Found

create_functionadd_action('widgets_init', create_function('', 'return register_widget("CustomPostsContent");'));DisplayCustomPostsContent.php:176

SQL Query Safety

100% prepared1 total queries

Output Escaping

5% escaped44 total outputs
Attack Surface

Custom Post Display Attack Surface

Entry Points0
Unprotected0
WordPress Hooks 1
actionwidgets_initDisplayCustomPostsContent.php:176
Maintenance & Trust

Custom Post Display Maintenance & Trust

Maintenance Signals

WordPress version tested4.3.34
Last updatedNov 7, 2015
PHP min version
Downloads8K

Community Trust

Rating68/100
Number of ratings5
Active installs50
Developer Profile

Custom Post Display Developer Profile

Cris Puno

2 plugins · 60 total installs

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

How We Detect Custom Post Display

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/custom-post-display/custom-post-display.php

HTML / DOM Fingerprints

CSS Classes
alignleftalignright
Data Attributes
widget_id
FAQ

Frequently Asked Questions about Custom Post Display